repo: janusweb action: commit revision: path_from: revision_from: 66d22f2e1f471f135cd5a336ac00409176120e92: path_to: revision_to:
commit 66d22f2e1f471f135cd5a336ac00409176120e92 Author: James BaicoianuDate: Wed May 11 21:27:36 2016 -0700 Pass janusweb.init arguments to client constructor diff --git a/scripts/client.js b/scripts/client.js
--- a/scripts/client.js
+++ b/scripts/client.js
@@ -15,7 +15,7 @@ elation.require(['engine.engine', 'engine.assets', 'engine.things.light_ambient'
link.href = fullpath + 'janusweb.css';
document.head.appendChild(link);
elation.html.addclass(document.body, 'dark');
- var janusweb = elation.janusweb.client({append: document.body, homepage: homepage});
+ var janusweb = elation.janusweb.client({append: document.body, homepage: homepage, resolution: args.resolution, url: args.url});
return new Promise(function(resolve, reject) {
elation.events.add(janusweb.engine, 'engine_start', function() { resolve(janusweb); });
});
-----END OF PAGE-----