From a3313a7628b1dc817496ffc13a58d0f1ad2daa99 Mon Sep 17 00:00:00 2001 From: www-data Date: Mon, 28 Oct 2019 17:01:30 +0100 Subject: [PATCH] Initial Commit: 3D Project - 1 - Code - Project Loaded (uyzbv0wgr9.js) --- uyzbv0wgr9.js | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 uyzbv0wgr9.js diff --git a/uyzbv0wgr9.js b/uyzbv0wgr9.js new file mode 100644 index 0000000..85465f1 --- /dev/null +++ b/uyzbv0wgr9.js @@ -0,0 +1,22 @@ +var project = data.component; + +/** + * Only respond to project loaded events for my parent project + */ +if (project !== this.getParentProject()) { + return; +} + +if (!this.initialized) { + + /** + * Set some initialization code here + */ + console.log(project.name + ' Loaded'); + this.initialized = true; +} + + +return null; + +//@ sourceURL=3d_project_1_code_project_loaded.js \ No newline at end of file