repo: janusweb action: commit revision: path_from: revision_from: 19ac422b7b38b407ba38fd3d7094de43b0d5ef98: path_to: revision_to:
commit 19ac422b7b38b407ba38fd3d7094de43b0d5ef98 Author: James BaicoianuDate: Fri Jul 26 08:17:25 2019 -0700 Throw 'create' event when object has been created diff --git a/scripts/janusbase.js b/scripts/janusbase.js
--- a/scripts/janusbase.js
+++ b/scripts/janusbase.js
@@ -92,6 +92,7 @@ elation.require(['engine.things.generic', 'utils.template', 'janusweb.parts'], f
this.setLayers(this.layers);
}
this.created = true;
+ this.dispatchEvent({type: 'create', bubbles: true});
}
this.updateColor = function() {
if (this.properties.color === this.defaultcolor) {
-----END OF PAGE-----