From 04343eda8c2f870b0da55cfdc8003c99fe1cc4de Mon Sep 17 00:00:00 2001 From: Kris Kowal Date: Fri, 6 Jul 2012 11:53:10 -0700 Subject: Remove trailing spaces --- .../feed-reader/feed-entry.reel/feed-entry.js | 4 ++-- .../feed-reader/feed-reader.reel/feed-reader.js | 2 +- .../ui/autocomplete/result-item.reel/result-item.js | 6 +++--- node_modules/montage/ui/flow.reel/flow.js | 10 +++++----- .../montage/ui/input-checkbox.reel/input-checkbox.js | 10 +++++----- node_modules/tools/template/template-creator.js | 20 ++++++++++---------- 6 files changed, 26 insertions(+), 26 deletions(-) (limited to 'node_modules') 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, { return this._entry; }, set: function(value) { - this._entry = value; + this._entry = value; } } - + }); 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, { } }, - + serializeProperties: { value: function(serializer) { 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, DynamicText = require("ui/dynamic-text.reel").DynamicText; exports.ResultItem = Montage.create(DynamicText, { - + textPropertyPath: {value: null}, - + _object: {value: null}, object: { get: function() { @@ -42,7 +42,7 @@ exports.ResultItem = Montage.create(DynamicText, { }, set: function(aValue) { if(aValue) { - this._object = aValue; + this._object = aValue; } if(this._object) { 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, { } } }, - + _halfPI: { enumerable: false, value: Math.PI*0.5 }, - + _doublePI: { enumerable: false, value: Math.PI*2 @@ -807,19 +807,19 @@ var Flow = exports.Flow = Montage.create(Component, { distinct: true, value: [] }, - + _cachedPosParameter: { enumerable: false, distinct: true, value: {} }, - + _cachedDrawOffset: { enumerable: false, distinct: true, value: {} }, - + _cachedSlide: { 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. /*global require,exports */ var Montage = require("montage").Montage, Component = require("ui/component").Component, - NativeInputCheckbox = require("ui/native/input-checkbox.reel").InputCheckbox; - + NativeInputCheckbox = require("ui/native/input-checkbox.reel").InputCheckbox; + /** * Input Checkbox */ exports.InputCheckbox = Montage.create(NativeInputCheckbox, { - + hasTemplate: {value: true}, - + didSetElement: { value: function() { NativeInputCheckbox.didSetElement.call(this); this['class'] = (this['class'] || '') + ' montage-inputCheckbox'; } } - + }); 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 return this.initWithHeadAndBodyElements(doc.head, doc.body, montageJsPath); } }, - + initWithBodyElement: { value: function(body, montageJsPath) { return this.initWithHeadAndBodyElements(null, body, montageJsPath); } }, - + initWithHeadAndBodyElements: { value: function(head, body, montageJsPath) { var serializer = this.serializer, @@ -64,11 +64,11 @@ var TemplateCreator = exports.TemplateCreator = Montage.create(Template, /** @le doc, script, self = this; - + this._componentNamesIndex = {}; this._objectNamesIndex = {}; doc = this._document = document.implementation.createHTMLDocument(""); - + function copyNode(sourceNode, targetNode, isRootNode) { var childNodes = sourceNode.childNodes, childNode, @@ -76,7 +76,7 @@ var TemplateCreator = exports.TemplateCreator = Montage.create(Template, /** @le label, script, component = isRootNode ? null : sourceNode.controller; - + if (component) { label = self._generateLabelForComponent(component, Object.keys(components)); componentsElements[label] = component._element; @@ -92,7 +92,7 @@ var TemplateCreator = exports.TemplateCreator = Montage.create(Template, /** @le } } } - + if (head) { doc.head.innerHTML = head.innerHTML; } @@ -102,7 +102,7 @@ var TemplateCreator = exports.TemplateCreator = Montage.create(Template, /** @le doc.head.appendChild(script); doc.head.insertBefore(doc.createTextNode("\n "), script); } - + // try to make things look nice... var html = doc.documentElement; html.insertBefore(doc.createTextNode("\n"), doc.head); @@ -112,7 +112,7 @@ var TemplateCreator = exports.TemplateCreator = Montage.create(Template, /** @le // the first child is the title doc.head.insertBefore(doc.createTextNode("\n "), doc.head.firstChild); } - + copyNode(body, this._document.body, true); this._ownerSerialization = serializer.serialize(components); for (var label in components) { @@ -121,11 +121,11 @@ var TemplateCreator = exports.TemplateCreator = Montage.create(Template, /** @le } components = componentsChildComponents = null; this._externalObjects = serializer.getExternalObjects(); - + return this; } }, - + _componentNamesIndex: { value: null }, -- cgit v1.2.3