repo: janusweb action: commit revision: path_from: revision_from: 327b82f7fb26b8583e025a6ef4c428a7f14995e1: path_to: revision_to:
commit 327b82f7fb26b8583e025a6ef4c428a7f14995e1 Author: James BaicoianuDate: Sun Oct 16 19:33:16 2016 -0700 Load assets and save source when we get a response from a translator diff --git a/scripts/room.js b/scripts/room.js
--- a/scripts/room.js
+++ b/scripts/room.js
@@ -254,6 +254,8 @@ elation.require([
// TODO - use the new official translators here!
translator.exec({url: url, janus: this.properties.janus, room: this})
.then(elation.bind(this, function(objs) {
+ this.roomsrc = objs.source;
+ this.loadRoomAssets(objs);
this.createRoomObjects(objs);
this.setActive();
elation.events.fire({type: 'janus_room_load', element: this});
-----END OF PAGE-----