diff options
Diffstat (limited to 'js')
-rw-r--r-- | js/components/combobox.reel/combobox.js | 2 | ||||
-rw-r--r-- | js/components/layout/bread-crumb.reel/bread-crumb.css | 1 | ||||
-rw-r--r-- | js/components/radio.reel/radio.js | 6 | ||||
-rw-r--r-- | js/ninja.reel/ninja.js | 5 | ||||
-rwxr-xr-x | js/preloader/Preloader.js | 1 |
5 files changed, 10 insertions, 5 deletions
diff --git a/js/components/combobox.reel/combobox.js b/js/components/combobox.reel/combobox.js index f262bb06..a68a7d6b 100644 --- a/js/components/combobox.reel/combobox.js +++ b/js/components/combobox.reel/combobox.js | |||
@@ -67,7 +67,7 @@ exports.Combobox = Montage.create(Component, { | |||
67 | var e = document.createEvent("CustomEvent"); | 67 | var e = document.createEvent("CustomEvent"); |
68 | e.initEvent("change", true, true); | 68 | e.initEvent("change", true, true); |
69 | e.type = "change"; | 69 | e.type = "change"; |
70 | e._wasSetByCode = this._wasSetByCode; | 70 | e.wasSetByCode = this._wasSetByCode; |
71 | e.value = this._value; | 71 | e.value = this._value; |
72 | this.dispatchEvent(e); | 72 | this.dispatchEvent(e); |
73 | 73 | ||
diff --git a/js/components/layout/bread-crumb.reel/bread-crumb.css b/js/components/layout/bread-crumb.reel/bread-crumb.css index f84c6e80..cc984609 100644 --- a/js/components/layout/bread-crumb.reel/bread-crumb.css +++ b/js/components/layout/bread-crumb.reel/bread-crumb.css | |||
@@ -5,6 +5,7 @@ | |||
5 | </copyright> */ | 5 | </copyright> */ |
6 | 6 | ||
7 | .bread_crumb{ | 7 | .bread_crumb{ |
8 | background-color: #282828; | ||
8 | border-style: double; | 9 | border-style: double; |
9 | height: 26px; | 10 | height: 26px; |
10 | } | 11 | } |
diff --git a/js/components/radio.reel/radio.js b/js/components/radio.reel/radio.js index 954da3c4..c661ec11 100644 --- a/js/components/radio.reel/radio.js +++ b/js/components/radio.reel/radio.js | |||
@@ -41,7 +41,7 @@ exports.RadioGroup = Montage.create(Component, { | |||
41 | e = document.createEvent("CustomEvent"); | 41 | e = document.createEvent("CustomEvent"); |
42 | e.initEvent("change", true, true); | 42 | e.initEvent("change", true, true); |
43 | e.type = "change"; | 43 | e.type = "change"; |
44 | e._wasSetByCode = this._wasSetByCode; | 44 | e.wasSetByCode = this._wasSetByCode; |
45 | e.selectedIndex = i; | 45 | e.selectedIndex = i; |
46 | e.selectedItem = value; | 46 | e.selectedItem = value; |
47 | this.dispatchEvent(e); | 47 | this.dispatchEvent(e); |
@@ -77,7 +77,7 @@ exports.RadioGroup = Montage.create(Component, { | |||
77 | { | 77 | { |
78 | value:function(event) | 78 | value:function(event) |
79 | { | 79 | { |
80 | this._wasSetByCode = event._event._wasSetByCode; | 80 | this._wasSetByCode = event._event.wasSetByCode; |
81 | this.selectedItem = event._event.value; | 81 | this.selectedItem = event._event.value; |
82 | } | 82 | } |
83 | } | 83 | } |
@@ -126,7 +126,7 @@ exports.Radio = Montage.create(Component, { | |||
126 | var e = document.createEvent("CustomEvent"); | 126 | var e = document.createEvent("CustomEvent"); |
127 | e.initEvent("change", true, true); | 127 | e.initEvent("change", true, true); |
128 | e.type = "change"; | 128 | e.type = "change"; |
129 | e._wasSetByCode = this._wasSetByCode; | 129 | e.wasSetByCode = this._wasSetByCode; |
130 | e.value = this; | 130 | e.value = this; |
131 | this.dispatchEvent(e); | 131 | this.dispatchEvent(e); |
132 | 132 | ||
diff --git a/js/ninja.reel/ninja.js b/js/ninja.reel/ninja.js index bc31e0e1..465533cd 100644 --- a/js/ninja.reel/ninja.js +++ b/js/ninja.reel/ninja.js | |||
@@ -13,6 +13,10 @@ exports.Ninja = Montage.create(Component, { | |||
13 | _appLoaded: { value: false }, | 13 | _appLoaded: { value: false }, |
14 | _preload: { value: false }, | 14 | _preload: { value: false }, |
15 | 15 | ||
16 | ninjaVersion: { | ||
17 | value: window.ninjaVersion.ninja.version | ||
18 | }, | ||
19 | |||
16 | toolsData: { value: null }, | 20 | toolsData: { value: null }, |
17 | appData: { value: AppData }, | 21 | appData: { value: AppData }, |
18 | 22 | ||
@@ -36,6 +40,7 @@ exports.Ninja = Montage.create(Component, { | |||
36 | 40 | ||
37 | prepareForDraw: { | 41 | prepareForDraw: { |
38 | value: function() { | 42 | value: function() { |
43 | console.log("Loading Ninja --> ", this.ninjaVersion); | ||
39 | 44 | ||
40 | this.application.ninja = this; | 45 | this.application.ninja = this; |
41 | 46 | ||
diff --git a/js/preloader/Preloader.js b/js/preloader/Preloader.js index f137f4b6..93d71e8f 100755 --- a/js/preloader/Preloader.js +++ b/js/preloader/Preloader.js | |||
@@ -136,7 +136,6 @@ exports.Preloader = Montage.create(Component, { | |||
136 | 136 | ||
137 | deserializedFromTemplate: { | 137 | deserializedFromTemplate: { |
138 | value: function() { | 138 | value: function() { |
139 | console.log("Start Preloading"); | ||
140 | 139 | ||
141 | this.filesTotal = this.ninjaJsRequire.length + this.ninjaCssRequire.length; | 140 | this.filesTotal = this.ninjaJsRequire.length + this.ninjaCssRequire.length; |
142 | 141 | ||