repo: janusweb action: commit revision: path_from: revision_from: 421ef1495ac3a7bf2ec2279e60fee67c3e339ae6: path_to: revision_to:
commit 421ef1495ac3a7bf2ec2279e60fee67c3e339ae6 Author: James BaicoianuDate: Sun Dec 24 04:24:52 2017 -0800 Call object.create() if defined diff --git a/scripts/janusbase.js b/scripts/janusbase.js
--- a/scripts/janusbase.js
+++ b/scripts/janusbase.js
@@ -65,6 +65,11 @@ elation.require(['engine.things.generic', 'utils.template'], function() {
// elation.events.add(this.room, 'janusweb_script_frame_end', this.handleFrameUpdates);
}
+ this.createChildren = function() {
+ if (typeof this.create == 'function') {
+ this.create();
+ }
+ }
this.updateColor = function() {
if (this.properties.color === this.defaultcolor) {
if (this.color.r != 1 || this.color.g != 1 || this.color.b != 1) {
-----END OF PAGE-----