diff options
Diffstat (limited to 'node_modules/montage')
3 files changed, 13 insertions, 13 deletions
diff --git a/node_modules/montage/ui/autocomplete/result-item.reel/result-item.js b/node_modules/montage/ui/autocomplete/result-item.reel/result-item.js index 9a08d4df..1e19bbd3 100644 --- a/node_modules/montage/ui/autocomplete/result-item.reel/result-item.js +++ b/node_modules/montage/ui/autocomplete/result-item.reel/result-item.js | |||
@@ -32,9 +32,9 @@ var Montage = require("montage").Montage, | |||
32 | DynamicText = require("ui/dynamic-text.reel").DynamicText; | 32 | DynamicText = require("ui/dynamic-text.reel").DynamicText; |
33 | 33 | ||
34 | exports.ResultItem = Montage.create(DynamicText, { | 34 | exports.ResultItem = Montage.create(DynamicText, { |
35 | 35 | ||
36 | textPropertyPath: {value: null}, | 36 | textPropertyPath: {value: null}, |
37 | 37 | ||
38 | _object: {value: null}, | 38 | _object: {value: null}, |
39 | object: { | 39 | object: { |
40 | get: function() { | 40 | get: function() { |
@@ -42,7 +42,7 @@ exports.ResultItem = Montage.create(DynamicText, { | |||
42 | }, | 42 | }, |
43 | set: function(aValue) { | 43 | set: function(aValue) { |
44 | if(aValue) { | 44 | if(aValue) { |
45 | this._object = aValue; | 45 | this._object = aValue; |
46 | } | 46 | } |
47 | if(this._object) { | 47 | if(this._object) { |
48 | if(this.textPropertyPath) { | 48 | if(this.textPropertyPath) { |
diff --git a/node_modules/montage/ui/flow.reel/flow.js b/node_modules/montage/ui/flow.reel/flow.js index 365fceb5..579b284e 100644 --- a/node_modules/montage/ui/flow.reel/flow.js +++ b/node_modules/montage/ui/flow.reel/flow.js | |||
@@ -440,12 +440,12 @@ var Flow = exports.Flow = Montage.create(Component, { | |||
440 | } | 440 | } |
441 | } | 441 | } |
442 | }, | 442 | }, |
443 | 443 | ||
444 | _halfPI: { | 444 | _halfPI: { |
445 | enumerable: false, | 445 | enumerable: false, |
446 | value: Math.PI*0.5 | 446 | value: Math.PI*0.5 |
447 | }, | 447 | }, |
448 | 448 | ||
449 | _doublePI: { | 449 | _doublePI: { |
450 | enumerable: false, | 450 | enumerable: false, |
451 | value: Math.PI*2 | 451 | value: Math.PI*2 |
@@ -807,19 +807,19 @@ var Flow = exports.Flow = Montage.create(Component, { | |||
807 | distinct: true, | 807 | distinct: true, |
808 | value: [] | 808 | value: [] |
809 | }, | 809 | }, |
810 | 810 | ||
811 | _cachedPosParameter: { | 811 | _cachedPosParameter: { |
812 | enumerable: false, | 812 | enumerable: false, |
813 | distinct: true, | 813 | distinct: true, |
814 | value: {} | 814 | value: {} |
815 | }, | 815 | }, |
816 | 816 | ||
817 | _cachedDrawOffset: { | 817 | _cachedDrawOffset: { |
818 | enumerable: false, | 818 | enumerable: false, |
819 | distinct: true, | 819 | distinct: true, |
820 | value: {} | 820 | value: {} |
821 | }, | 821 | }, |
822 | 822 | ||
823 | 823 | ||
824 | _cachedSlide: { | 824 | _cachedSlide: { |
825 | enumerable: false, | 825 | enumerable: false, |
diff --git a/node_modules/montage/ui/input-checkbox.reel/input-checkbox.js b/node_modules/montage/ui/input-checkbox.reel/input-checkbox.js index d0c32821..b446d7b9 100644 --- a/node_modules/montage/ui/input-checkbox.reel/input-checkbox.js +++ b/node_modules/montage/ui/input-checkbox.reel/input-checkbox.js | |||
@@ -30,20 +30,20 @@ POSSIBILITY OF SUCH DAMAGE. | |||
30 | /*global require,exports */ | 30 | /*global require,exports */ |
31 | var Montage = require("montage").Montage, | 31 | var Montage = require("montage").Montage, |
32 | Component = require("ui/component").Component, | 32 | Component = require("ui/component").Component, |
33 | NativeInputCheckbox = require("ui/native/input-checkbox.reel").InputCheckbox; | 33 | NativeInputCheckbox = require("ui/native/input-checkbox.reel").InputCheckbox; |
34 | 34 | ||
35 | /** | 35 | /** |
36 | * Input Checkbox | 36 | * Input Checkbox |
37 | */ | 37 | */ |
38 | exports.InputCheckbox = Montage.create(NativeInputCheckbox, { | 38 | exports.InputCheckbox = Montage.create(NativeInputCheckbox, { |
39 | 39 | ||
40 | hasTemplate: {value: true}, | 40 | hasTemplate: {value: true}, |
41 | 41 | ||
42 | didSetElement: { | 42 | didSetElement: { |
43 | value: function() { | 43 | value: function() { |
44 | NativeInputCheckbox.didSetElement.call(this); | 44 | NativeInputCheckbox.didSetElement.call(this); |
45 | this['class'] = (this['class'] || '') + ' montage-inputCheckbox'; | 45 | this['class'] = (this['class'] || '') + ' montage-inputCheckbox'; |
46 | } | 46 | } |
47 | } | 47 | } |
48 | 48 | ||
49 | }); | 49 | }); |