diff options
author | Kris Kowal | 2012-07-06 11:53:10 -0700 |
---|---|---|
committer | Kris Kowal | 2012-07-06 15:01:48 -0700 |
commit | 04343eda8c2f870b0da55cfdc8003c99fe1cc4de (patch) | |
tree | 0a6048889b65bb16ff58822e55bc1346e9eb07bd /node_modules | |
parent | 648ee61ae84216d0236e0dbc211addc13b2cfa3a (diff) | |
download | ninja-04343eda8c2f870b0da55cfdc8003c99fe1cc4de.tar.gz |
Remove trailing spaces
Diffstat (limited to 'node_modules')
6 files changed, 26 insertions, 26 deletions
diff --git a/node_modules/montage-google/feed-reader/feed-entry.reel/feed-entry.js b/node_modules/montage-google/feed-reader/feed-entry.reel/feed-entry.js index bd69276b..d92c6b4b 100644 --- a/node_modules/montage-google/feed-reader/feed-entry.reel/feed-entry.js +++ b/node_modules/montage-google/feed-reader/feed-entry.reel/feed-entry.js | |||
@@ -38,8 +38,8 @@ exports.FeedEntry = Montage.create(Component, { | |||
38 | return this._entry; | 38 | return this._entry; |
39 | }, | 39 | }, |
40 | set: function(value) { | 40 | set: function(value) { |
41 | this._entry = value; | 41 | this._entry = value; |
42 | } | 42 | } |
43 | } | 43 | } |
44 | 44 | ||
45 | }); | 45 | }); |
diff --git a/node_modules/montage-google/feed-reader/feed-reader.reel/feed-reader.js b/node_modules/montage-google/feed-reader/feed-reader.reel/feed-reader.js index 6f0c1cc6..00218b1f 100644 --- a/node_modules/montage-google/feed-reader/feed-reader.reel/feed-reader.js +++ b/node_modules/montage-google/feed-reader/feed-reader.reel/feed-reader.js | |||
@@ -206,7 +206,7 @@ exports.FeedReader = Montage.create(Component, { | |||
206 | 206 | ||
207 | } | 207 | } |
208 | }, | 208 | }, |
209 | 209 | ||
210 | serializeProperties: { | 210 | serializeProperties: { |
211 | value: function(serializer) { | 211 | value: function(serializer) { |
212 | serializer.set("element", this.element); | 212 | serializer.set("element", this.element); |
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 | }); |
diff --git a/node_modules/tools/template/template-creator.js b/node_modules/tools/template/template-creator.js index 9951fb02..984edd43 100755 --- a/node_modules/tools/template/template-creator.js +++ b/node_modules/tools/template/template-creator.js | |||
@@ -47,13 +47,13 @@ var TemplateCreator = exports.TemplateCreator = Montage.create(Template, /** @le | |||
47 | return this.initWithHeadAndBodyElements(doc.head, doc.body, montageJsPath); | 47 | return this.initWithHeadAndBodyElements(doc.head, doc.body, montageJsPath); |
48 | } | 48 | } |
49 | }, | 49 | }, |
50 | 50 | ||
51 | initWithBodyElement: { | 51 | initWithBodyElement: { |
52 | value: function(body, montageJsPath) { | 52 | value: function(body, montageJsPath) { |
53 | return this.initWithHeadAndBodyElements(null, body, montageJsPath); | 53 | return this.initWithHeadAndBodyElements(null, body, montageJsPath); |
54 | } | 54 | } |
55 | }, | 55 | }, |
56 | 56 | ||
57 | initWithHeadAndBodyElements: { | 57 | initWithHeadAndBodyElements: { |
58 | value: function(head, body, montageJsPath) { | 58 | value: function(head, body, montageJsPath) { |
59 | var serializer = this.serializer, | 59 | var serializer = this.serializer, |
@@ -64,11 +64,11 @@ var TemplateCreator = exports.TemplateCreator = Montage.create(Template, /** @le | |||
64 | doc, | 64 | doc, |
65 | script, | 65 | script, |
66 | self = this; | 66 | self = this; |
67 | 67 | ||
68 | this._componentNamesIndex = {}; | 68 | this._componentNamesIndex = {}; |
69 | this._objectNamesIndex = {}; | 69 | this._objectNamesIndex = {}; |
70 | doc = this._document = document.implementation.createHTMLDocument(""); | 70 | doc = this._document = document.implementation.createHTMLDocument(""); |
71 | 71 | ||
72 | function copyNode(sourceNode, targetNode, isRootNode) { | 72 | function copyNode(sourceNode, targetNode, isRootNode) { |
73 | var childNodes = sourceNode.childNodes, | 73 | var childNodes = sourceNode.childNodes, |
74 | childNode, | 74 | childNode, |
@@ -76,7 +76,7 @@ var TemplateCreator = exports.TemplateCreator = Montage.create(Template, /** @le | |||
76 | label, | 76 | label, |
77 | script, | 77 | script, |
78 | component = isRootNode ? null : sourceNode.controller; | 78 | component = isRootNode ? null : sourceNode.controller; |
79 | 79 | ||
80 | if (component) { | 80 | if (component) { |
81 | label = self._generateLabelForComponent(component, Object.keys(components)); | 81 | label = self._generateLabelForComponent(component, Object.keys(components)); |
82 | componentsElements[label] = component._element; | 82 | componentsElements[label] = component._element; |
@@ -92,7 +92,7 @@ var TemplateCreator = exports.TemplateCreator = Montage.create(Template, /** @le | |||
92 | } | 92 | } |
93 | } | 93 | } |
94 | } | 94 | } |
95 | 95 | ||
96 | if (head) { | 96 | if (head) { |
97 | doc.head.innerHTML = head.innerHTML; | 97 | doc.head.innerHTML = head.innerHTML; |
98 | } | 98 | } |
@@ -102,7 +102,7 @@ var TemplateCreator = exports.TemplateCreator = Montage.create(Template, /** @le | |||
102 | doc.head.appendChild(script); | 102 | doc.head.appendChild(script); |