flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From erikdebr...@apache.org
Subject [05/17] Run of 'gjslint' with --strict argument. Lot's of indentation and too long line fixes.
Date Thu, 07 Nov 2013 13:58:24 GMT
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3510e0a6/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/PanelView.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/PanelView.js b/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/PanelView.js
index 16b81f1..d768ba0 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/PanelView.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/PanelView.js
@@ -23,6 +23,7 @@ org.apache.flex.html.staticControls.beads.PanelView = function() {
 
 };
 
+
 /**
  * @expose
  * @this {org.apache.flex.html.staticControls.beads.PanelView}
@@ -49,13 +50,14 @@ org.apache.flex.html.staticControls.beads.PanelView.prototype.set_strand =
 
 };
 
+
 /**
  * @this {org.apache.flex.html.staticControls.beads.PanelView}
  * @param {Object} event The event that triggered this handler.
  */
 org.apache.flex.html.staticControls.beads.PanelView.prototype.changeHandler =
-  function(event) {
-    if (event.type == 'titleChange') {
-      this.strand_.titleBar.set_title(this.strand_.model.get_title());
-    }
+    function(event) {
+  if (event.type == 'titleChange') {
+    this.strand_.titleBar.set_title(this.strand_.model.get_title());
+  }
 };

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3510e0a6/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/SliderThumbView.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/SliderThumbView.js b/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/SliderThumbView.js
index 5510a15..1957dd7 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/SliderThumbView.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/SliderThumbView.js
@@ -14,19 +14,22 @@
 
 goog.provide('org.apache.flex.html.staticControls.beads.SliderThumbView');
 
+
+
 /**
  * @constructor
  */
 org.apache.flex.html.staticControls.beads.SliderThumbView = function() {
 };
 
+
 /**
  * @expose
  * @this {org.apache.flex.html.staticControls.beads.SliderThumbView}
  * @param {Object} value The strand.
  */
 org.apache.flex.html.staticControls.beads.SliderThumbView.prototype.
-set_strand = function(value) {
+    set_strand = function(value) {
   this.strand_ = value;
 
   this.element = document.createElement('div');

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3510e0a6/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/SliderTrackView.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/SliderTrackView.js b/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/SliderTrackView.js
index 43b58a9..755b6c5 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/SliderTrackView.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/SliderTrackView.js
@@ -14,19 +14,22 @@
 
 goog.provide('org.apache.flex.html.staticControls.beads.SliderTrackView');
 
+
+
 /**
  * @constructor
  */
 org.apache.flex.html.staticControls.beads.SliderTrackView = function() {
 };
 
+
 /**
  * @expose
  * @this {org.apache.flex.html.staticControls.beads.SliderTrackView}
  * @param {Object} value The strand.
  */
 org.apache.flex.html.staticControls.beads.SliderTrackView.prototype.
-set_strand = function(value) {
+    set_strand = function(value) {
   this.strand_ = value;
 
   this.element = document.createElement('div');

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3510e0a6/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/TextItemRendererFactoryForArrayData.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/TextItemRendererFactoryForArrayData.js b/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/TextItemRendererFactoryForArrayData.js
index 585cce3..bd10832 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/TextItemRendererFactoryForArrayData.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/TextItemRendererFactoryForArrayData.js
@@ -18,19 +18,23 @@ goog.require('org.apache.flex.core.IItemRenderer');
 goog.require('org.apache.flex.events.EventDispatcher');
 goog.require('org.apache.flex.html.staticControls.beads.models.ArraySelectionModel');
 
+
+
 /**
  * @constructor
  * @extends {org.apache.flex.core.IItemRenderer}
  */
 org.apache.flex.html.staticControls.beads.TextItemRendererFactoryForArrayData =
-function() {
+    function() {
   goog.base(this);
 };
 goog.inherits(
-  org.apache.flex.html.staticControls.beads.TextItemRendererFactoryForArrayData,
-  org.apache.flex.core.IItemRenderer,
-  org.apache.flex.events.EventDispatcher);
-
+    org.apache.flex.html.staticControls.
+        beads.TextItemRendererFactoryForArrayData,
+    org.apache.flex.core.IItemRenderer,
+    org.apache.flex.events.EventDispatcher);
+// TODO (erikdebruin) this 'goog.inherits' doesn't do what you think... We need
+//                    a proper interface here.
 
 
 /**
@@ -40,14 +44,14 @@ goog.inherits(
  * @param {object} value The component strand.
  */
 org.apache.flex.html.staticControls.beads.TextItemRendererFactoryForArrayData.
-prototype.set_strand = function(value) {
+    prototype.set_strand = function(value) {
   this.strand_ = value;
 
   this.model = value.getBeadByType(
-          org.apache.flex.html.staticControls.beads.models.ArraySelectionModel);
+      org.apache.flex.html.staticControls.beads.models.ArraySelectionModel);
 
   this.listView = value.getBeadByType(
-          org.apache.flex.html.staticControls.beads.ListView);
+      org.apache.flex.html.staticControls.beads.ListView);
   this.dataGroup = this.listView.get_dataGroup();
 
   this.model.addEventListener('dataProviderChanged',
@@ -64,7 +68,7 @@ prototype.set_strand = function(value) {
  * @param {object} event The event that triggered the dataProvider change.
  */
 org.apache.flex.html.staticControls.beads.TextItemRendererFactoryForArrayData.
-prototype.dataProviderChangedHandler = function(event) {
+    prototype.dataProviderChangedHandler = function(event) {
   var dp, i, n, opt;
 
   dp = this.model.get_dataProvider();

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3510e0a6/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/controllers/ItemRendererMouseController.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/controllers/ItemRendererMouseController.js b/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/controllers/ItemRendererMouseController.js
index 373dd78..60b6686 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/controllers/ItemRendererMouseController.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/controllers/ItemRendererMouseController.js
@@ -16,12 +16,14 @@ goog.provide('org.apache.flex.html.staticControls.beads.controllers.ItemRenderer
 
 goog.require('org.apache.flex.core.IBeadController');
 
+
+
 /**
  * @constructor
  * @extends {org.apache.flex.core.IBeadController}
  */
 org.apache.flex.html.staticControls.beads.controllers.
-ItemRendererMouseController = function() {
+    ItemRendererMouseController = function() {
   goog.base(this);
 };
 goog.inherits(org.apache.flex.html.staticControls.beads.
@@ -29,7 +31,6 @@ goog.inherits(org.apache.flex.html.staticControls.beads.
     org.apache.flex.core.IBeadController);
 
 
-
 /**
  * @expose
  * @this {org.apache.flex.html.staticControls.beads.controllers.
@@ -37,20 +38,20 @@ goog.inherits(org.apache.flex.html.staticControls.beads.
  * @param {object} value The strand for this component.
  */
 org.apache.flex.html.staticControls.beads.controllers.
-ItemRendererMouseController.prototype.set_strand = function(value) {
+    ItemRendererMouseController.prototype.set_strand = function(value) {
   this.strand_ = value;
 
   goog.events.listen(this.strand_.element, goog.events.EventType.MOUSEOVER,
-            goog.bind(this.handleMouseOver, this));
+      goog.bind(this.handleMouseOver, this));
 
   goog.events.listen(this.strand_.element, goog.events.EventType.MOUSEOUT,
-            goog.bind(this.handleMouseOut, this));
+      goog.bind(this.handleMouseOut, this));
 
   goog.events.listen(this.strand_.element, goog.events.EventType.MOUSEDOWN,
-            goog.bind(this.handleMouseDown, this));
+      goog.bind(this.handleMouseDown, this));
 
   goog.events.listen(this.strand_.element, goog.events.EventType.MOUSEUP,
-            goog.bind(this.handleMouseUp, this));
+      goog.bind(this.handleMouseUp, this));
 };
 
 
@@ -61,9 +62,9 @@ ItemRendererMouseController.prototype.set_strand = function(value) {
  * @param {object} event The mouse event that triggered the hover.
  */
 org.apache.flex.html.staticControls.beads.controllers.
-ItemRendererMouseController.prototype.handleMouseOver = function(event) {
+    ItemRendererMouseController.prototype.handleMouseOver = function(event) {
 
-   this.strand_.set_hovered(true);
+  this.strand_.set_hovered(true);
 };
 
 
@@ -74,9 +75,9 @@ ItemRendererMouseController.prototype.handleMouseOver = function(event) {
  * @param {object} event The mouse-out event.
  */
 org.apache.flex.html.staticControls.beads.controllers.
-ItemRendererMouseController.prototype.handleMouseOut = function(event) {
+    ItemRendererMouseController.prototype.handleMouseOut = function(event) {
 
-   this.strand_.set_hovered(false);
+  this.strand_.set_hovered(false);
 };
 
 
@@ -87,9 +88,9 @@ ItemRendererMouseController.prototype.handleMouseOut = function(event) {
  * @param {object} event The mouse-down event.
  */
 org.apache.flex.html.staticControls.beads.controllers.
-ItemRendererMouseController.prototype.handleMouseDown = function(event) {
+    ItemRendererMouseController.prototype.handleMouseDown = function(event) {
 
-   // ??
+  // ??
 };
 
 
@@ -100,18 +101,18 @@ ItemRendererMouseController.prototype.handleMouseDown = function(event) {
  * @param {object} event The mouse-up event that triggers the selection.
  */
 org.apache.flex.html.staticControls.beads.controllers.
-ItemRendererMouseController.prototype.handleMouseUp = function(event) {
+    ItemRendererMouseController.prototype.handleMouseUp = function(event) {
 
-   var newEvent = new goog.events.Event('selected');
+  var newEvent = new goog.events.Event('selected');
 
-   // normally you do not - and should not - change the target of an event,
-   // but these events do not propagate nor bubble up the object tree, so
-   // we have to force the event's target to be this item renderer instance.
+  // normally you do not - and should not - change the target of an event,
+  // but these events do not propagate nor bubble up the object tree, so
+  // we have to force the event's target to be this item renderer instance.
 
-   newEvent.target = this.strand_;
+  newEvent.target = this.strand_;
 
-   // since the event is not going to up the chain, we also have to dispatch
-   // it against its final destination.
+  // since the event is not going to up the chain, we also have to dispatch
+  // it against its final destination.
 
-   this.strand_.get_itemRendererParent().dispatchEvent(newEvent);
+  this.strand_.get_itemRendererParent().dispatchEvent(newEvent);
 };

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3510e0a6/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/controllers/ListSingleSelectionMouseController.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/controllers/ListSingleSelectionMouseController.js b/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/controllers/ListSingleSelectionMouseController.js
index a49d0a3..e4c75bb 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/controllers/ListSingleSelectionMouseController.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/controllers/ListSingleSelectionMouseController.js
@@ -19,12 +19,13 @@ goog.require('org.apache.flex.html.staticControls.beads.ListView');
 goog.require('org.apache.flex.html.staticControls.beads.models.ArraySelectionModel');
 
 
+
 /**
  * @constructor
  * @extends {org.apache.flex.core.IBeadController}
  */
 org.apache.flex.html.staticControls.beads.controllers.
-ListSingleSelectionMouseController = function() {
+    ListSingleSelectionMouseController = function() {
   goog.base(this);
 };
 goog.inherits(org.apache.flex.html.staticControls.beads.
@@ -39,17 +40,17 @@ goog.inherits(org.apache.flex.html.staticControls.beads.
  * @param {object} value The strand for this component.
  */
 org.apache.flex.html.staticControls.beads.controllers.
-ListSingleSelectionMouseController.prototype.set_strand = function(value) {
+    ListSingleSelectionMouseController.prototype.set_strand = function(value) {
   this.strand_ = value;
 
   this.model = value.getBeadByType(
-         org.apache.flex.html.staticControls.beads.models.ArraySelectionModel);
+      org.apache.flex.html.staticControls.beads.models.ArraySelectionModel);
   this.listView = value.getBeadByType(
-        org.apache.flex.html.staticControls.beads.ListView);
+      org.apache.flex.html.staticControls.beads.ListView);
 
   this.dataGroup = this.listView.get_dataGroup();
   this.dataGroup.addEventListener('selected',
-    goog.bind(this.selectedHandler, this));
+      goog.bind(this.selectedHandler, this));
 };
 
 
@@ -60,7 +61,8 @@ ListSingleSelectionMouseController.prototype.set_strand = function(value) {
  * @param {object} event The event that triggered the selection.
  */
 org.apache.flex.html.staticControls.beads.controllers.
-ListSingleSelectionMouseController.prototype.selectedHandler = function(event) {
+    ListSingleSelectionMouseController.prototype.selectedHandler =
+        function(event) {
 
   var index = event.target.get_index();
   this.model.set_selectedIndex(index);

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3510e0a6/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/controllers/SliderMouseController.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/controllers/SliderMouseController.js b/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/controllers/SliderMouseController.js
index faab34a..04e71dd 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/controllers/SliderMouseController.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/controllers/SliderMouseController.js
@@ -17,13 +17,16 @@ goog.provide('org.apache.flex.html.staticControls.beads.controllers.SliderMouseC
 goog.require('org.apache.flex.html.staticControls.beads.SliderThumbView');
 goog.require('org.apache.flex.html.staticControls.beads.SliderTrackView');
 
+
+
 /**
  * @constructor
  */
 org.apache.flex.html.staticControls.beads.controllers.SliderMouseController =
-function() {
+    function() {
 };
 
+
 /**
  * @expose
  * @this {org.apache.flex.html.staticControls.beads.controllers.
@@ -31,13 +34,13 @@ function() {
  * @param {Object} value The strand.
  */
 org.apache.flex.html.staticControls.beads.controllers.SliderMouseController.
-prototype.set_strand = function(value) {
+    prototype.set_strand = function(value) {
   this.strand_ = value;
 
   this.track = this.strand_.getBeadByType(
-        org.apache.flex.html.staticControls.beads.SliderTrackView);
+      org.apache.flex.html.staticControls.beads.SliderTrackView);
   this.thumb = this.strand_.getBeadByType(
-        org.apache.flex.html.staticControls.beads.SliderThumbView);
+      org.apache.flex.html.staticControls.beads.SliderThumbView);
 
   goog.events.listen(this.track.element, goog.events.EventType.CLICK,
                      this.handleTrackClick, false, this);
@@ -54,9 +57,9 @@ prototype.set_strand = function(value) {
  * @return {void} Handles click on track.
  */
 org.apache.flex.html.staticControls.beads.controllers.SliderMouseController.
-prototype.handleTrackClick =
-function(event)
-{
+    prototype.handleTrackClick =
+    function(event)
+    {
   var xloc = event.clientX;
   var p = Math.min(1, xloc / parseInt(this.track.element.style.width, 10));
   var n = p * (this.strand_.get_maximum() - this.strand_.get_minimum()) +
@@ -72,6 +75,7 @@ function(event)
   this.strand_.dispatchEvent(new org.apache.flex.events.Event('valueChanged'));
 };
 
+
 /**
  * @this {org.apache.flex.html.staticControls.beads.controllers.
  *        SliderMouseController}
@@ -79,9 +83,9 @@ function(event)
  * @return {void} Handles mouse-down on the thumb.
  */
 org.apache.flex.html.staticControls.beads.controllers.SliderMouseController.
-prototype.handleThumbDown =
-function(event)
-{
+    prototype.handleThumbDown =
+    function(event)
+    {
   goog.events.listen(this.strand_.element, goog.events.EventType.MOUSEUP,
                      this.handleThumbUp, false, this);
   goog.events.listen(this.strand_.element, goog.events.EventType.MOUSEMOVE,
@@ -91,6 +95,7 @@ function(event)
   this.position = parseInt(this.thumb.element.style.left, 10);
 };
 
+
 /**
  * @this {org.apache.flex.html.staticControls.beads.controllers.
  *        SliderMouseController}
@@ -98,9 +103,9 @@ function(event)
  * @return {void} Handles mouse-up on the thumb.
  */
 org.apache.flex.html.staticControls.beads.controllers.SliderMouseController.
-prototype.handleThumbUp =
-function(event)
-{
+    prototype.handleThumbUp =
+    function(event)
+    {
   goog.events.unlisten(this.strand_.element, goog.events.EventType.MOUSEUP,
                        this.handleThumbUp, false, this);
   goog.events.unlisten(this.strand_.element, goog.events.EventType.MOUSEMOVE,
@@ -111,6 +116,7 @@ function(event)
   this.strand_.dispatchEvent(new org.apache.flex.events.Event('valueChanged'));
 };
 
+
 /**
  * @this {org.apache.flex.html.staticControls.beads.controllers.
  *        SliderMouseController}
@@ -118,14 +124,15 @@ function(event)
  * @return {void} Handles mouse-move on the thumb.
  */
 org.apache.flex.html.staticControls.beads.controllers.SliderMouseController.
-prototype.handleThumbMove =
-function(event)
-{
+    prototype.handleThumbMove =
+    function(event)
+    {
   this.calcValFromMousePosition(event, false);
 
   this.strand_.dispatchEvent(new org.apache.flex.events.Event('valueChanged'));
 };
 
+
 /**
  * @this {org.apache.flex.html.staticControls.beads.controllers.
  *        SliderMouseController}
@@ -135,9 +142,9 @@ function(event)
  * along the slider.
  */
 org.apache.flex.html.staticControls.beads.controllers.SliderMouseController.
-prototype.calcValFromMousePosition =
-function(event, useOffset)
-{
+    prototype.calcValFromMousePosition =
+    function(event, useOffset)
+    {
   var deltaX = (useOffset ? event.offsetX : event.clientX) - this.origin;
   var thumbW = parseInt(this.thumb.element.style.width, 10) / 2;
   var newX = this.position + deltaX;
@@ -154,7 +161,7 @@ function(event, useOffset)
   newX = p * parseInt(this.track.element.style.width, 10);
 
   this.thumb.element.style.left = String(newX -
-                     parseInt(this.thumb.element.style.width, 10) / 2) + 'px';
+      parseInt(this.thumb.element.style.width, 10) / 2) + 'px';
 
   this.strand_.set_value(n);
 };

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3510e0a6/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/controllers/SpinnerMouseController.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/controllers/SpinnerMouseController.js b/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/controllers/SpinnerMouseController.js
index fe2d1db..d172f2e 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/controllers/SpinnerMouseController.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/controllers/SpinnerMouseController.js
@@ -17,13 +17,15 @@ goog.provide('org.apache.flex.html.staticControls.beads.controllers.SpinnerMouse
 goog.require('org.apache.flex.html.staticControls.TextButton');
 
 
+
 /**
  * @constructor
  */
 org.apache.flex.html.staticControls.beads.controllers.SpinnerMouseController =
-function() {
+    function() {
 };
 
+
 /**
  * @expose
  * @this {org.apache.flex.html.staticControls.beads.controllers.
@@ -31,44 +33,46 @@ function() {
  * @param {Object} value The strand.
  */
 org.apache.flex.html.staticControls.beads.controllers.SpinnerMouseController.
-prototype.set_strand = function(value) {
+    prototype.set_strand = function(value) {
   this.strand_ = value;
 
   this.incrementButton = this.strand_.incrementButton;
   this.decrementButton = this.strand_.decrementButton;
 
   goog.events.listen(this.incrementButton.element, goog.events.EventType.CLICK,
-            goog.bind(this.handleIncrementClick, this));
+      goog.bind(this.handleIncrementClick, this));
 
   goog.events.listen(this.decrementButton.element, goog.events.EventType.CLICK,
-            goog.bind(this.handleDecrementClick, this));
+      goog.bind(this.handleDecrementClick, this));
 };
 
+
 /**
  * @this {org.apache.flex.html.staticControls.beads.controllers.
  *        SpinnerMouseController}
  * @param {Object} event The event object.
  */
 org.apache.flex.html.staticControls.beads.controllers.SpinnerMouseController.
-prototype.handleIncrementClick = function(event)
-{
+    prototype.handleIncrementClick = function(event)
+    {
   var newValue = this.strand_.snap(Math.min(this.strand_.get_maximum(),
-                                this.strand_.get_value() +
-                                this.strand_.get_stepSize()));
+      this.strand_.get_value() +
+      this.strand_.get_stepSize()));
   this.strand_.set_value(newValue);
 };
 
+
 /**
  * @this {org.apache.flex.html.staticControls.beads.controllers.
  *        SpinnerMouseController}
  * @param {event} event The event object.
  */
 org.apache.flex.html.staticControls.beads.controllers.SpinnerMouseController.
-prototype.handleDecrementClick =
+    prototype.handleDecrementClick =
     function(event)
-{
+    {
   var newValue = this.strand_.snap(Math.max(this.strand_.get_minimum(),
-                                this.strand_.get_value() -
-                                this.strand_.get_stepSize()));
+      this.strand_.get_value() -
+      this.strand_.get_stepSize()));
   this.strand_.set_value(newValue);
 };

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3510e0a6/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/layouts/ButtonBarLayout.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/layouts/ButtonBarLayout.js b/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/layouts/ButtonBarLayout.js
index ed389b9..83f1e72 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/layouts/ButtonBarLayout.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/layouts/ButtonBarLayout.js
@@ -17,6 +17,8 @@ goog.provide('org.apache.flex.html.staticControls.beads.layouts.ButtonBarLayout'
 goog.require('org.apache.flex.core.IBeadLayout');
 goog.require('org.apache.flex.html.staticControls.beads.ListView');
 
+
+
 /**
  * @constructor
  * @extends {org.apache.flex.core.IBeadLayout}
@@ -28,7 +30,8 @@ org.apache.flex.html.staticControls.beads.layouts.ButtonBarLayout =
   this.className = 'ButtonBarLayout';
 };
 goog.inherits(org.apache.flex.html.staticControls.beads.layouts.ButtonBarLayout,
-org.apache.flex.core.IBeadLayout);
+    org.apache.flex.core.IBeadLayout);
+
 
 /**
  * @expose
@@ -37,7 +40,7 @@ org.apache.flex.core.IBeadLayout);
  * @param {Object} value The new host.
  */
 org.apache.flex.html.staticControls.beads.layouts.ButtonBarLayout.
-prototype.set_strand =
+    prototype.set_strand =
     function(value) {
   if (this.strand_ !== value) {
     this.strand_ = value;
@@ -56,7 +59,7 @@ prototype.set_strand =
  * @param {org.apache.flex.events.Event} event The text getter.
  */
 org.apache.flex.html.staticControls.beads.layouts.ButtonBarLayout.
-prototype.changeHandler = function(event) {
+    prototype.changeHandler = function(event) {
   var children, i, n, xpos, useWidth, useHeight;
 
   children = this.strand_.internalChildren();

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3510e0a6/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/layouts/NonVirtualHorizontalLayout.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/layouts/NonVirtualHorizontalLayout.js b/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/layouts/NonVirtualHorizontalLayout.js
index 8346c12..af3550d 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/layouts/NonVirtualHorizontalLayout.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/layouts/NonVirtualHorizontalLayout.js
@@ -17,6 +17,8 @@ goog.provide('org.apache.flex.html.staticControls.beads.layouts.NonVirtualHorizo
 goog.require('org.apache.flex.core.IBeadLayout');
 goog.require('org.apache.flex.html.staticControls.beads.ListView');
 
+
+
 /**
  * @constructor
  */
@@ -30,6 +32,7 @@ goog.inherits(org.apache.flex.html.staticControls.beads.
         layouts.NonVirtualHorizontalLayout,
     org.apache.flex.core.IBeadLayout);
 
+
 /**
  * @expose
  * @this {org.apache.flex.html.staticControls.beads.layouts.
@@ -37,7 +40,7 @@ goog.inherits(org.apache.flex.html.staticControls.beads.
  * @param {Object} value The new host.
  */
 org.apache.flex.html.staticControls.beads.layouts.NonVirtualHorizontalLayout.
-prototype.set_strand =
+    prototype.set_strand =
     function(value) {
   if (this.strand_ !== value) {
     this.strand_ = value;
@@ -60,7 +63,7 @@ prototype.set_strand =
  * @param {org.apache.flex.events.Event} event The text getter.
  */
 org.apache.flex.html.staticControls.beads.layouts.NonVirtualHorizontalLayout.
-prototype.changeHandler = function(event) {
+    prototype.changeHandler = function(event) {
   var children, i, n;
 
   children = this.strand_.internalChildren();

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3510e0a6/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/layouts/NonVirtualVerticalLayout.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/layouts/NonVirtualVerticalLayout.js b/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/layouts/NonVirtualVerticalLayout.js
index 167fcf7..9e134b1 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/layouts/NonVirtualVerticalLayout.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/layouts/NonVirtualVerticalLayout.js
@@ -16,6 +16,8 @@ goog.provide('org.apache.flex.html.staticControls.beads.layouts.NonVirtualVertic
 
 goog.require('org.apache.flex.core.IBeadLayout');
 
+
+
 /**
  * @constructor
  * @implements {org.apache.flex.core.IBeadLayout}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3510e0a6/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/layouts/NonVirtualVerticalScrollingLayout.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/layouts/NonVirtualVerticalScrollingLayout.js b/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/layouts/NonVirtualVerticalScrollingLayout.js
index 8d63e31..89f1307 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/layouts/NonVirtualVerticalScrollingLayout.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/layouts/NonVirtualVerticalScrollingLayout.js
@@ -16,9 +16,11 @@ goog.provide('org.apache.flex.html.staticControls.beads.layouts.NonVirtualVertic
 
 goog.require('org.apache.flex.core.IBeadLayout');
 
+
+
 /**
  * @constructor
- * @extends {org.apache.flex.core.IBeadLayout');
+ * @extends {org.apache.flex.core.IBeadLayout');}
  */
 org.apache.flex.html.staticControls.beads.layouts.
     NonVirtualVerticalScrollingLayout = function() {
@@ -30,6 +32,7 @@ goog.inherits(org.apache.flex.html.staticControls.beads.
         layouts.NonVirtualVerticalScrollingLayout,
     org.apache.flex.core.IBeadLayout);
 
+
 /**
  * @expose
  * @param {Object} value The new host.

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3510e0a6/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/models/ArraySelectionModel.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/models/ArraySelectionModel.js b/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/models/ArraySelectionModel.js
index 99a54b7..f2aaa74 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/models/ArraySelectionModel.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/models/ArraySelectionModel.js
@@ -17,19 +17,21 @@ goog.provide('org.apache.flex.html.staticControls.beads.models.ArraySelectionMod
 goog.require('org.apache.flex.core.IBeadModel');
 goog.require('org.apache.flex.events.EventDispatcher');
 
+
+
 /**
  * @constructor
  * @extends {org.apache.flex.core.IBeadModel}
  */
 org.apache.flex.html.staticControls.beads.models.ArraySelectionModel =
-function() {
+    function() {
   goog.base(this);
   this.className = 'ArraySelectionModel';
 };
 goog.inherits(
-  org.apache.flex.html.staticControls.beads.models.ArraySelectionModel,
-  org.apache.flex.core.IBeadModel,
-  org.apache.flex.events.EventDispatcher);
+    org.apache.flex.html.staticControls.beads.models.ArraySelectionModel,
+    org.apache.flex.core.IBeadModel,
+    org.apache.flex.events.EventDispatcher);
 
 
 /**
@@ -38,7 +40,7 @@ goog.inherits(
  * @param {Object} value The strand.
  */
 org.apache.flex.html.staticControls.beads.models.ArraySelectionModel.prototype.
-set_strand = function(value) {
+    set_strand = function(value) {
   this.strand_ = value;
 };
 
@@ -49,7 +51,7 @@ set_strand = function(value) {
  * @return {Object} value The dataProvider.
  */
 org.apache.flex.html.staticControls.beads.models.ArraySelectionModel.prototype.
-get_dataProvider = function() {
+    get_dataProvider = function() {
   return this.dataProvider_;
 };
 
@@ -60,7 +62,7 @@ get_dataProvider = function() {
  * @param {Object} value The dataProvider.
  */
 org.apache.flex.html.staticControls.beads.models.ArraySelectionModel.prototype.
-set_dataProvider = function(value) {
+    set_dataProvider = function(value) {
   this.dataProvider_ = value;
   this.dispatchEvent('dataProviderChanged');
 };
@@ -72,7 +74,7 @@ set_dataProvider = function(value) {
  * @return {Object} value The selected index.
  */
 org.apache.flex.html.staticControls.beads.models.ArraySelectionModel.prototype.
-get_selectedIndex = function() {
+    get_selectedIndex = function() {
   return this.selectedIndex_;
 };
 
@@ -83,7 +85,7 @@ get_selectedIndex = function() {
  * @param {Object} value The selected index.
  */
 org.apache.flex.html.staticControls.beads.models.ArraySelectionModel.prototype.
-set_selectedIndex = function(value) {
+    set_selectedIndex = function(value) {
   this.selectedIndex_ = value;
   this.dispatchEvent('selectedIndexChanged');
 };
@@ -95,7 +97,7 @@ set_selectedIndex = function(value) {
  * @return {Object} value The selected item.
  */
 org.apache.flex.html.staticControls.beads.models.ArraySelectionModel.prototype.
-get_selectedItem = function() {
+    get_selectedItem = function() {
   var si;
 
   si = this.selectedIndex_;
@@ -115,17 +117,17 @@ get_selectedItem = function() {
  * @param {Object} value The selected item.
  */
 org.apache.flex.html.staticControls.beads.models.ArraySelectionModel.prototype.
-set_selectedItem = function(value) {
+    set_selectedItem = function(value) {
   // find item in dataProvider and set selectedIndex or -1 if not exists
 
   this.selectedIndex_ = -1;
   var n = this.dataProvider_.length;
   for (var i = 0; i < n; i++) {
-     var item = this.dataProvider_[i];
-     if (item == value) {
-       this.selectedIndex_ = i;
-       break;
-     }
+    var item = this.dataProvider_[i];
+    if (item == value) {
+      this.selectedIndex_ = i;
+      break;
+    }
   }
 
   this.dispatchEvent('selectedItemChanged');

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3510e0a6/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/models/DataGridModel.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/models/DataGridModel.js b/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/models/DataGridModel.js
index df94f47..1b95269 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/models/DataGridModel.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/models/DataGridModel.js
@@ -16,12 +16,14 @@ goog.provide('org.apache.flex.html.staticControls.beads.models.DataGridModel');
 
 goog.require('org.apache.flex.html.staticControls.beads.models.ArraySelectionModel');
 
+
+
 /**
  * @constructor
  * @extends {org.apache.flex.html.staticControls.beads.models.ArraySelectionModel}
  */
 org.apache.flex.html.staticControls.beads.models.DataGridModel =
-function() {
+    function() {
   goog.base(this);
 
   this.labelFields_ = [];
@@ -29,8 +31,8 @@ function() {
   this.className = 'DataGridModel';
 };
 goog.inherits(
-  org.apache.flex.html.staticControls.beads.models.DataGridModel,
-  org.apache.flex.html.staticControls.beads.models.ArraySelectionModel);
+    org.apache.flex.html.staticControls.beads.models.DataGridModel,
+    org.apache.flex.html.staticControls.beads.models.ArraySelectionModel);
 
 
 /**
@@ -39,7 +41,7 @@ goog.inherits(
  * @param {Object} value The strand.
  */
 org.apache.flex.html.staticControls.beads.models.DataGridModel.prototype.
-set_strand = function(value) {
+    set_strand = function(value) {
   goog.base(this, 'set_strand', value);
   this.strand_ = value;
 };
@@ -51,16 +53,17 @@ set_strand = function(value) {
  * @param {Array} value Array of label fields.
  */
 org.apache.flex.html.staticControls.beads.models.DataGridModel.prototype.
-set_labelFields = function(value) {
+    set_labelFields = function(value) {
   this.labelFields_ = value;
 };
 
+
 /**
  * @expose
  * @this {org.apache.flex.html.staticControls.beads.models.DataGridModel}
  * @return {Array} Array of label fields.
  */
 org.apache.flex.html.staticControls.beads.models.DataGridModel.prototype.
-get_labelFields = function() {
+    get_labelFields = function() {
   return this.labelFields_;
 };

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3510e0a6/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/models/DataGridPresentationModel.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/models/DataGridPresentationModel.js b/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/models/DataGridPresentationModel.js
index f58a6e5..7f2eb27 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/models/DataGridPresentationModel.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/models/DataGridPresentationModel.js
@@ -1,4 +1,4 @@
- /**
+/**
  * Licensed under the Apache License, Version 2.0 (the 'License');
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
@@ -16,19 +16,22 @@ goog.provide('org.apache.flex.html.staticControls.beads.models.DataGridPresentat
 
 goog.require('org.apache.flex.events.EventDispatcher');
 
+
+
 /**
  * @constructor
  * @extends {org.apache.flex.events.EventDispatcher}
  */
 org.apache.flex.html.staticControls.beads.models.DataGridPresentationModel =
-function() {
+    function() {
   goog.base(this);
 
   this.className = 'DataGridPresentationModel';
 };
 goog.inherits(
-  org.apache.flex.html.staticControls.beads.models.DataGridPresentationModel,
-  org.apache.flex.events.EventDispatcher);
+    org.apache.flex.html.staticControls.beads.models.DataGridPresentationModel,
+    org.apache.flex.events.EventDispatcher);
+
 
 /**
  * @expose

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3510e0a6/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/models/ImageModel.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/models/ImageModel.js b/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/models/ImageModel.js
index e66da0f..6822adf 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/models/ImageModel.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/models/ImageModel.js
@@ -16,17 +16,19 @@ goog.provide('org.apache.flex.html.staticControls.beads.models.ImageModel');
 
 goog.require('org.apache.flex.events.EventDispatcher');
 
+
+
 /**
  * @constructor
  * @extends {org.apache.flex.events.EventDispatcher}
  */
 org.apache.flex.html.staticControls.beads.models.ImageModel =
-function() {
+    function() {
   goog.base(this);
 };
 goog.inherits(
-  org.apache.flex.html.staticControls.beads.models.ImageModel,
-  org.apache.flex.events.EventDispatcher);
+    org.apache.flex.html.staticControls.beads.models.ImageModel,
+    org.apache.flex.events.EventDispatcher);
 
 
 /**
@@ -35,27 +37,29 @@ goog.inherits(
  * @param {Object} value The strand.
  */
 org.apache.flex.html.staticControls.beads.models.ImageModel.prototype.
-set_strand = function(value) {
+    set_strand = function(value) {
   this.strand_ = value;
 };
 
+
 /**
  * @expose
  * @this {org.apache.flex.html.staticControls.beads.models.ImageModel}
  * @return {Object} value The image source.
  */
 org.apache.flex.html.staticControls.beads.models.ImageModel.prototype.
-get_source = function() {
+    get_source = function() {
   return this.source;
 };
 
+
 /**
  * @expose
  * @this {org.apache.flex.html.staticControls.beads.models.ImageModel}
  * @param {Object} value The image source.
  */
 org.apache.flex.html.staticControls.beads.models.ImageModel.prototype.
-set_source = function(value) {
+    set_source = function(value) {
   this.source = value;
   this.dispatchEvent('sourceChanged');
 };

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3510e0a6/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/models/PanelModel.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/models/PanelModel.js b/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/models/PanelModel.js
index febc95f..8d77ef9 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/models/PanelModel.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/models/PanelModel.js
@@ -16,6 +16,8 @@ goog.provide('org.apache.flex.html.staticControls.beads.models.PanelModel');
 
 goog.require('org.apache.flex.events.EventDispatcher');
 
+
+
 /**
  * @constructor
  * @extends {org.apache.flex.events.EventDispatcher}
@@ -31,14 +33,13 @@ goog.inherits(org.apache.flex.html.staticControls.beads.models.PanelModel,
     org.apache.flex.events.EventDispatcher);
 
 
-
 /**
  * @expose
  * @this {org.apache.flex.html.staticControls.beads.models.PanelModel}
  * @param {Object} value The strand.
  */
 org.apache.flex.html.staticControls.beads.models.PanelModel.prototype.
-set_strand = function(value) {
+    set_strand = function(value) {
   this.strand_ = value;
 };
 
@@ -49,7 +50,7 @@ set_strand = function(value) {
  * @return {String} The title.
  */
 org.apache.flex.html.staticControls.beads.models.PanelModel.prototype.
-get_title = function() {
+    get_title = function() {
   return this.title_;
 };
 
@@ -60,10 +61,10 @@ get_title = function() {
  * @param {String} value The title to set.
  */
 org.apache.flex.html.staticControls.beads.models.PanelModel.prototype.
-set_title = function(value) {
+    set_title = function(value) {
   if (this.title_ != value) {
-      this.title_ = value;
-      this.dispatchEvent('titleChange');
+    this.title_ = value;
+    this.dispatchEvent('titleChange');
   }
 };
 
@@ -74,7 +75,7 @@ set_title = function(value) {
  * @return {String} The HTML title.
  */
 org.apache.flex.html.staticControls.beads.models.PanelModel.prototype.
-get_htmlTitle = function() {
+    get_htmlTitle = function() {
   return this.htmlTitle_;
 };
 
@@ -85,7 +86,7 @@ get_htmlTitle = function() {
  * @param {String} value The new HTML title.
  */
 org.apache.flex.html.staticControls.beads.models.PanelModel.prototype.
-set_htmlTitle = function(value) {
+    set_htmlTitle = function(value) {
   if (this.htmlTitle_ != value) {
     this.htmlTitle_ = value;
     this.dispatchEvent('htmlTitleChange');
@@ -100,7 +101,7 @@ set_htmlTitle = function(value) {
  * the TitleBar.
  */
 org.apache.flex.html.staticControls.beads.models.PanelModel.prototype.
-get_showCloseButton = function() {
+    get_showCloseButton = function() {
   return this.showCloseButton_;
 };
 
@@ -112,7 +113,7 @@ get_showCloseButton = function() {
  * not (false).
  */
 org.apache.flex.html.staticControls.beads.models.PanelModel.prototype.
-set_showCloseButton = function(value) {
+    set_showCloseButton = function(value) {
   if (this.showCloseButton_ != value) {
     this.showCloseButton_ = value;
     this.dispatchEvent('showCloseButtonChange');

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3510e0a6/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/models/RangeModel.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/models/RangeModel.js b/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/models/RangeModel.js
index fcc2c29..b391c56 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/models/RangeModel.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/models/RangeModel.js
@@ -16,6 +16,8 @@ goog.provide('org.apache.flex.html.staticControls.beads.models.RangeModel');
 
 goog.require('org.apache.flex.events.EventDispatcher');
 
+
+
 /**
  * @constructor
  * @extends {org.apache.flex.events.EventDispatcher}
@@ -33,14 +35,13 @@ goog.inherits(org.apache.flex.html.staticControls.beads.models.RangeModel,
     org.apache.flex.events.EventDispatcher);
 
 
-
 /**
  * @expose
  * @this {org.apache.flex.html.staticControls.beads.models.RangeModel}
  * @param {Object} value The strand.
  */
 org.apache.flex.html.staticControls.beads.models.RangeModel.prototype.
-set_strand = function(value) {
+    set_strand = function(value) {
   this.strand_ = value;
 };
 
@@ -51,7 +52,7 @@ set_strand = function(value) {
  * @return {Number} The current minimum value.
  */
 org.apache.flex.html.staticControls.beads.models.RangeModel.prototype.
-get_minimum = function() {
+    get_minimum = function() {
   return this.minimum_;
 };
 
@@ -62,10 +63,10 @@ get_minimum = function() {
  * @param {Number} value The new minimum value.
  */
 org.apache.flex.html.staticControls.beads.models.RangeModel.prototype.
-set_minimum = function(value) {
+    set_minimum = function(value) {
   if (this.minimum_ != value) {
-      this.minimum_ = value;
-      this.dispatchEvent('minimumChange');
+    this.minimum_ = value;
+    this.dispatchEvent('minimumChange');
   }
 };
 
@@ -76,7 +77,7 @@ set_minimum = function(value) {
  * @return {Number} The current maximu value.
  */
 org.apache.flex.html.staticControls.beads.models.RangeModel.prototype.
-get_maximum = function() {
+    get_maximum = function() {
   return this.maximum_;
 };
 
@@ -87,10 +88,10 @@ get_maximum = function() {
  * @param {Number} value The new maximum value.
  */
 org.apache.flex.html.staticControls.beads.models.RangeModel.prototype.
-set_maximum = function(value) {
+    set_maximum = function(value) {
   if (this.maximum_ != value) {
-      this.maximum_ = value;
-      this.dispatchEvent('maximumChange');
+    this.maximum_ = value;
+    this.dispatchEvent('maximumChange');
   }
 };
 
@@ -101,7 +102,7 @@ set_maximum = function(value) {
  * @return {Number} The current value.
  */
 org.apache.flex.html.staticControls.beads.models.RangeModel.prototype.
-get_value = function() {
+    get_value = function() {
   return this.value_;
 };
 
@@ -112,7 +113,7 @@ get_value = function() {
  * @param {Number} newValue The new value.
  */
 org.apache.flex.html.staticControls.beads.models.RangeModel.prototype.
-set_value = function(newValue) {
+    set_value = function(newValue) {
   if (this.value_ != newValue) {
 
     // value must lie within the boundaries of minimum & maximum
@@ -133,7 +134,7 @@ set_value = function(newValue) {
  * @return {Number} The current snapInterval value.
  */
 org.apache.flex.html.staticControls.beads.models.RangeModel.prototype.
-get_snapInterval = function() {
+    get_snapInterval = function() {
   return this.snapInterval_;
 };
 
@@ -144,10 +145,10 @@ get_snapInterval = function() {
  * @param {Number} value The new snapInterval value.
  */
 org.apache.flex.html.staticControls.beads.models.RangeModel.prototype.
-set_snapInterval = function(value) {
+    set_snapInterval = function(value) {
   if (this.snapInterval_ != value) {
-      this.snapInterval_ = value;
-      this.dispatchEvent('snapIntervalChange');
+    this.snapInterval_ = value;
+    this.dispatchEvent('snapIntervalChange');
   }
 };
 
@@ -158,7 +159,7 @@ set_snapInterval = function(value) {
  * @return {Number} The current stepSize value.
  */
 org.apache.flex.html.staticControls.beads.models.RangeModel.prototype.
-get_stepSize = function() {
+    get_stepSize = function() {
   return this.stepSize_;
 };
 
@@ -169,13 +170,14 @@ get_stepSize = function() {
  * @param {Number} value The new stepSize value.
  */
 org.apache.flex.html.staticControls.beads.models.RangeModel.prototype.
-set_stepSize = function(value) {
+    set_stepSize = function(value) {
   if (this.stepSize_ != value) {
-      this.stepSize_ = value;
-      this.dispatchEvent('stepSizeChange');
+    this.stepSize_ = value;
+    this.dispatchEvent('stepSizeChange');
   }
 };
 
+
 /**
  * @expose
  * @this {org.apache.flex.html.staticControls.beads.models.RangeModel}
@@ -183,7 +185,7 @@ set_stepSize = function(value) {
  * @return {Number} Adjusted value.
  */
 org.apache.flex.html.staticControls.beads.models.RangeModel.prototype.
-snap = function(value) {
+    snap = function(value) {
   var si = this.snapInterval_;
   var n = Math.round((value - this.minimum_) / si) *
                  si + this.minimum_;

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3510e0a6/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/models/TitleBarModel.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/models/TitleBarModel.js b/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/models/TitleBarModel.js
index f0cf755..0455501 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/models/TitleBarModel.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/models/TitleBarModel.js
@@ -16,6 +16,8 @@ goog.provide('org.apache.flex.html.staticControls.beads.models.TitleBarModel');
 
 goog.require('org.apache.flex.events.EventDispatcher');
 
+
+
 /**
  * @constructor
  * @extends {org.apache.flex.events.EventDispatcher}
@@ -31,14 +33,13 @@ goog.inherits(org.apache.flex.html.staticControls.beads.models.TitleBarModel,
     org.apache.flex.events.EventDispatcher);
 
 
-
 /**
  * @expose
  * @this {org.apache.flex.html.staticControls.beads.models.TitleBarModel}
  * @param {Object} value The strand.
  */
 org.apache.flex.html.staticControls.beads.models.TitleBarModel.prototype.
-set_strand = function(value) {
+    set_strand = function(value) {
   this.strand_ = value;
 };
 
@@ -49,7 +50,7 @@ set_strand = function(value) {
  * @return {String} The title.
  */
 org.apache.flex.html.staticControls.beads.models.TitleBarModel.prototype.
-get_title = function() {
+    get_title = function() {
   return this.title_;
 };
 
@@ -60,10 +61,10 @@ get_title = function() {
  * @param {String} value The title to set.
  */
 org.apache.flex.html.staticControls.beads.models.TitleBarModel.prototype.
-set_title = function(value) {
+    set_title = function(value) {
   if (this.title_ != value) {
-      this.title_ = value;
-      this.dispatchEvent('titleChange');
+    this.title_ = value;
+    this.dispatchEvent('titleChange');
   }
 };
 
@@ -74,7 +75,7 @@ set_title = function(value) {
  * @return {String} The HTML title.
  */
 org.apache.flex.html.staticControls.beads.models.TitleBarModel.prototype.
-get_htmlTitle = function() {
+    get_htmlTitle = function() {
   return this.htmlTitle_;
 };
 
@@ -85,7 +86,7 @@ get_htmlTitle = function() {
  * @param {String} value The new HTML title.
  */
 org.apache.flex.html.staticControls.beads.models.TitleBarModel.prototype.
-set_htmlTitle = function(value) {
+    set_htmlTitle = function(value) {
   if (this.htmlTitle_ != value) {
     this.htmlTitle_ = value;
     this.dispatchEvent('htmlTitleChange');
@@ -100,7 +101,7 @@ set_htmlTitle = function(value) {
  * the TitleBar.
  */
 org.apache.flex.html.staticControls.beads.models.TitleBarModel.prototype.
-get_showCloseButton = function() {
+    get_showCloseButton = function() {
   return this.showCloseButton_;
 };
 
@@ -112,7 +113,7 @@ get_showCloseButton = function() {
  * not (false).
  */
 org.apache.flex.html.staticControls.beads.models.TitleBarModel.prototype.
-set_showCloseButton = function(value) {
+    set_showCloseButton = function(value) {
   if (this.showCloseButton_ != value) {
     this.showCloseButton_ = value;
     this.dispatchEvent('showCloseButtonChange');

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3510e0a6/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/supportClasses/ButtonBarButtonItemRenderer.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/supportClasses/ButtonBarButtonItemRenderer.js b/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/supportClasses/ButtonBarButtonItemRenderer.js
index 4257074..f2c3be8 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/supportClasses/ButtonBarButtonItemRenderer.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/supportClasses/ButtonBarButtonItemRenderer.js
@@ -17,17 +17,20 @@ goog.provide('org.apache.flex.html.staticControls.supportClasses.ButtonBarButton
 goog.require('org.apache.flex.html.staticControls.beads.controllers.ItemRendererMouseController');
 goog.require('org.apache.flex.html.staticControls.supportClasses.DataItemRenderer');
 
+
+
 /**
  * @constructor
  * @extends {org.apache.flex.html.staticControls.supportClasses.DataItemRenderer}
  */
 org.apache.flex.html.staticControls.supportClasses.ButtonBarButtonItemRenderer =
-function() {
+    function() {
   goog.base(this);
 };
 goog.inherits(
- org.apache.flex.html.staticControls.supportClasses.ButtonBarButtonItemRenderer,
- org.apache.flex.html.staticControls.supportClasses.DataItemRenderer);
+    org.apache.flex.html.staticControls.
+        supportClasses.ButtonBarButtonItemRenderer,
+    org.apache.flex.html.staticControls.supportClasses.DataItemRenderer);
 
 
 /**
@@ -36,7 +39,7 @@ goog.inherits(
           ButtonBarButtonItemRenderer}
  */
 org.apache.flex.html.staticControls.supportClasses.ButtonBarButtonItemRenderer.
-prototype.createElement = function() {
+    prototype.createElement = function() {
 
   this.element = document.createElement('div');
   this.positioner = this.element;
@@ -64,7 +67,7 @@ prototype.createElement = function() {
  * @param {Object} value The strand.
  */
 org.apache.flex.html.staticControls.supportClasses.ButtonBarButtonItemRenderer.
-prototype.set_strand = function(value) {
+    prototype.set_strand = function(value) {
 
   this.strand_ = value;
 };
@@ -77,7 +80,7 @@ prototype.set_strand = function(value) {
  * @return {Object} The strand.
  */
 org.apache.flex.html.staticControls.supportClasses.ButtonBarButtonItemRenderer.
-prototype.get_strand = function() {
+    prototype.get_strand = function() {
   return this.strand_;
 };
 
@@ -89,7 +92,7 @@ prototype.get_strand = function() {
  * @param {Object} value The text to display.
  */
 org.apache.flex.html.staticControls.supportClasses.ButtonBarButtonItemRenderer.
-prototype.set_data = function(value) {
+    prototype.set_data = function(value) {
 
   goog.base(this, 'set_data', value);
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3510e0a6/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/supportClasses/DataItemRenderer.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/supportClasses/DataItemRenderer.js b/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/supportClasses/DataItemRenderer.js
index ce89be3..796f1fa 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/supportClasses/DataItemRenderer.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/supportClasses/DataItemRenderer.js
@@ -17,17 +17,19 @@ goog.provide('org.apache.flex.html.staticControls.supportClasses.DataItemRendere
 goog.require('org.apache.flex.core.UIBase');
 goog.require('org.apache.flex.html.staticControls.beads.controllers.ItemRendererMouseController');
 
+
+
 /**
  * @constructor
  * @extends {org.apache.flex.core.UIBase}
  */
 org.apache.flex.html.staticControls.supportClasses.DataItemRenderer =
-function() {
+    function() {
   goog.base(this);
 };
 goog.inherits(
-  org.apache.flex.html.staticControls.supportClasses.DataItemRenderer,
-  org.apache.flex.core.UIBase);
+    org.apache.flex.html.staticControls.supportClasses.DataItemRenderer,
+    org.apache.flex.core.UIBase);
 
 
 /**
@@ -35,7 +37,7 @@ goog.inherits(
  * @this {org.apache.flex.html.staticControls.supportClasses.DataItemRenderer}
  */
 org.apache.flex.html.staticControls.supportClasses.DataItemRenderer.
-prototype.createElement = function() {
+    prototype.createElement = function() {
 
   this.element = document.createElement('div');
   this.positioner = this.element;
@@ -59,7 +61,7 @@ prototype.createElement = function() {
  * @param {Object} value The strand.
  */
 org.apache.flex.html.staticControls.supportClasses.DataItemRenderer.
-prototype.set_strand = function(value) {
+    prototype.set_strand = function(value) {
 
   this.strand_ = value;
 };
@@ -71,7 +73,7 @@ prototype.set_strand = function(value) {
  * @return {Object} The strand.
  */
 org.apache.flex.html.staticControls.supportClasses.DataItemRenderer.
-prototype.get_strand = function() {
+    prototype.get_strand = function() {
   return this.strand_;
 };
 
@@ -82,7 +84,7 @@ prototype.get_strand = function() {
  * @return {Object} The item renderer's parent.
  */
 org.apache.flex.html.staticControls.supportClasses.DataItemRenderer.
-prototype.get_itemRendererParent = function() {
+    prototype.get_itemRendererParent = function() {
   return this.rendererParent_;
 };
 
@@ -93,7 +95,7 @@ prototype.get_itemRendererParent = function() {
  * @param {Object} value The item renderer's parent.
  */
 org.apache.flex.html.staticControls.supportClasses.DataItemRenderer.
-prototype.set_itemRendererParent = function(value) {
+    prototype.set_itemRendererParent = function(value) {
   this.rendererParent_ = value;
 };
 
@@ -104,7 +106,7 @@ prototype.set_itemRendererParent = function(value) {
  * @return {Object} The renderer's index.
  */
 org.apache.flex.html.staticControls.supportClasses.DataItemRenderer.
-prototype.get_index = function() {
+    prototype.get_index = function() {
   return this.index_;
 };
 
@@ -115,7 +117,7 @@ prototype.get_index = function() {
  * @param {Object} value The renderer's index.
  */
 org.apache.flex.html.staticControls.supportClasses.DataItemRenderer.
-prototype.set_index = function(value) {
+    prototype.set_index = function(value) {
   this.index_ = value;
 };
 
@@ -126,7 +128,7 @@ prototype.set_index = function(value) {
  * @param {Object} value The data to display.
  */
 org.apache.flex.html.staticControls.supportClasses.DataItemRenderer.
-prototype.set_data = function(value) {
+    prototype.set_data = function(value) {
 
   this.data = value;
 };
@@ -138,7 +140,7 @@ prototype.set_data = function(value) {
  * @return {Object} The value being displayed.
  */
 org.apache.flex.html.staticControls.supportClasses.DataItemRenderer.
-prototype.get_data = function() {
+    prototype.get_data = function() {
 
   return this.data;
 };
@@ -150,14 +152,14 @@ prototype.get_data = function() {
  * @param {boolean} value The selection state.
  */
 org.apache.flex.html.staticControls.supportClasses.DataItemRenderer.
-prototype.set_selected = function(value) {
+    prototype.set_selected = function(value) {
   this.selected_ = value;
 
   if (value) {
-     this.backgroundView.style.backgroundColor = '#9C9C9C';
-   } else {
-     this.backgroundView.style.backgroundColor = null;
-   }
+    this.backgroundView.style.backgroundColor = '#9C9C9C';
+  } else {
+    this.backgroundView.style.backgroundColor = null;
+  }
 };
 
 
@@ -167,16 +169,16 @@ prototype.set_selected = function(value) {
  * @param {boolean} value The hovered state.
  */
 org.apache.flex.html.staticControls.supportClasses.DataItemRenderer.
-prototype.set_hovered = function(value) {
+    prototype.set_hovered = function(value) {
   this.hovered_ = value;
 
   if (value) {
-     this.backgroundView.style.backgroundColor = '#ECECEC';
-   } else {
-     if (this.selected_) {
-       this.backgroundView.style.backgroundColor = '#9C9C9C';
-     } else {
-       this.backgroundView.style.backgroundColor = null;
-     }
-   }
+    this.backgroundView.style.backgroundColor = '#ECECEC';
+  } else {
+    if (this.selected_) {
+      this.backgroundView.style.backgroundColor = '#9C9C9C';
+    } else {
+      this.backgroundView.style.backgroundColor = null;
+    }
+  }
 };

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3510e0a6/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/supportClasses/NonVirtualDataGroup.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/supportClasses/NonVirtualDataGroup.js b/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/supportClasses/NonVirtualDataGroup.js
index 31ba2e4..d123c43 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/supportClasses/NonVirtualDataGroup.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/supportClasses/NonVirtualDataGroup.js
@@ -16,18 +16,20 @@ goog.provide('org.apache.flex.html.staticControls.supportClasses.NonVirtualDataG
 
 goog.require('org.apache.flex.core.UIBase');
 
+
+
 /**
  * @constructor
  * @extends {org.apache.flex.core.UIBase}
  */
 org.apache.flex.html.staticControls.supportClasses.NonVirtualDataGroup =
-function() {
+    function() {
   this.renderers = new Array();
   goog.base(this);
 };
 goog.inherits(
-  org.apache.flex.html.staticControls.supportClasses.NonVirtualDataGroup,
-  org.apache.flex.core.UIBase);
+    org.apache.flex.html.staticControls.supportClasses.NonVirtualDataGroup,
+    org.apache.flex.core.UIBase);
 
 
 /**
@@ -37,8 +39,8 @@ goog.inherits(
  * @param {Object} value The strand.
  */
 org.apache.flex.html.staticControls.supportClasses.NonVirtualDataGroup.
-prototype.set_strand = function(value) {
-    this.strand_ = value;
+    prototype.set_strand = function(value) {
+  this.strand_ = value;
 };
 
 
@@ -48,7 +50,7 @@ prototype.set_strand = function(value) {
  *        NonVirtualDataGroup}
  */
 org.apache.flex.html.staticControls.supportClasses.NonVirtualDataGroup.
-prototype.createElement = function() {
+    prototype.createElement = function() {
   this.element = document.createElement('div');
   this.element.style.overflow = 'auto';
   this.set_className('NonVirtualDataGroup');
@@ -62,7 +64,7 @@ prototype.createElement = function() {
  * @param {Object} value The child element being added.
  */
 org.apache.flex.html.staticControls.supportClasses.NonVirtualDataGroup.
-prototype.addElement = function(value) {
+    prototype.addElement = function(value) {
   goog.base(this, 'addElement', value);
 
   value.set_index(this.renderers.length);
@@ -79,6 +81,6 @@ prototype.addElement = function(value) {
  * @return {Object} The itemRenderer that matches the index.
  */
 org.apache.flex.html.staticControls.supportClasses.NonVirtualDataGroup.
-prototype.getItemRendererForIndex = function(index) {
+    prototype.getItemRendererForIndex = function(index) {
   return this.renderers[index];
 };

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3510e0a6/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/supportClasses/StringItemRenderer.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/supportClasses/StringItemRenderer.js b/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/supportClasses/StringItemRenderer.js
index 5c83083..00199a9 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/supportClasses/StringItemRenderer.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/supportClasses/StringItemRenderer.js
@@ -17,17 +17,19 @@ goog.provide('org.apache.flex.html.staticControls.supportClasses.StringItemRende
 goog.require('org.apache.flex.core.UIBase');
 goog.require('org.apache.flex.html.staticControls.beads.controllers.ItemRendererMouseController');
 
+
+
 /**
  * @constructor
  * @extends {org.apache.flex.core.UIBase}
  */
 org.apache.flex.html.staticControls.supportClasses.StringItemRenderer =
-function() {
+    function() {
   goog.base(this);
 };
 goog.inherits(
-  org.apache.flex.html.staticControls.supportClasses.StringItemRenderer,
-  org.apache.flex.core.UIBase);
+    org.apache.flex.html.staticControls.supportClasses.StringItemRenderer,
+    org.apache.flex.core.UIBase);
 
 
 /**
@@ -35,7 +37,7 @@ goog.inherits(
  * @this {org.apache.flex.html.staticControls.supportClasses.StringItemRenderer}
  */
 org.apache.flex.html.staticControls.supportClasses.StringItemRenderer.
-prototype.createElement = function() {
+    prototype.createElement = function() {
 
   this.element = document.createElement('div');
   this.positioner = this.element;
@@ -59,7 +61,7 @@ prototype.createElement = function() {
  * @param {Object} value The strand.
  */
 org.apache.flex.html.staticControls.supportClasses.StringItemRenderer.
-prototype.set_strand = function(value) {
+    prototype.set_strand = function(value) {
 
   this.strand_ = value;
 };
@@ -71,7 +73,7 @@ prototype.set_strand = function(value) {
  * @return {Object} The strand.
  */
 org.apache.flex.html.staticControls.supportClasses.StringItemRenderer.
-prototype.get_strand = function() {
+    prototype.get_strand = function() {
   return this.strand_;
 };
 
@@ -82,7 +84,7 @@ prototype.get_strand = function() {
  * @return {Object} The item renderer's parent.
  */
 org.apache.flex.html.staticControls.supportClasses.StringItemRenderer.
-prototype.get_itemRendererParent = function() {
+    prototype.get_itemRendererParent = function() {
   return this.rendererParent_;
 };
 
@@ -93,7 +95,7 @@ prototype.get_itemRendererParent = function() {
  * @param {Object} value The item renderer's parent.
  */
 org.apache.flex.html.staticControls.supportClasses.StringItemRenderer.
-prototype.set_itemRendererParent = function(value) {
+    prototype.set_itemRendererParent = function(value) {
   this.rendererParent_ = value;
 };
 
@@ -104,7 +106,7 @@ prototype.set_itemRendererParent = function(value) {
  * @return {Object} The renderer's index.
  */
 org.apache.flex.html.staticControls.supportClasses.StringItemRenderer.
-prototype.get_index = function() {
+    prototype.get_index = function() {
   return this.index_;
 };
 
@@ -115,7 +117,7 @@ prototype.get_index = function() {
  * @param {Object} value The renderer's index.
  */
 org.apache.flex.html.staticControls.supportClasses.StringItemRenderer.
-prototype.set_index = function(value) {
+    prototype.set_index = function(value) {
   this.index_ = value;
 };
 
@@ -126,7 +128,7 @@ prototype.set_index = function(value) {
  * @param {Object} value The text to display.
  */
 org.apache.flex.html.staticControls.supportClasses.StringItemRenderer.
-prototype.set_text = function(value) {
+    prototype.set_text = function(value) {
 
   this.element.innerHTML = value;
 };
@@ -138,7 +140,7 @@ prototype.set_text = function(value) {
  * @return {Object} The text being displayed.
  */
 org.apache.flex.html.staticControls.supportClasses.StringItemRenderer.
-prototype.get_text = function() {
+    prototype.get_text = function() {
 
   return this.element.innerHTML;
 };
@@ -150,14 +152,14 @@ prototype.get_text = function() {
  * @param {boolean} value The selection state.
  */
 org.apache.flex.html.staticControls.supportClasses.StringItemRenderer.
-prototype.set_selected = function(value) {
+    prototype.set_selected = function(value) {
   this.selected_ = value;
 
   if (value) {
-     this.backgroundView.style.backgroundColor = '#9C9C9C';
-   } else {
-     this.backgroundView.style.backgroundColor = null;
-   }
+    this.backgroundView.style.backgroundColor = '#9C9C9C';
+  } else {
+    this.backgroundView.style.backgroundColor = null;
+  }
 };
 
 
@@ -167,16 +169,16 @@ prototype.set_selected = function(value) {
  * @param {boolean} value The hovered state.
  */
 org.apache.flex.html.staticControls.supportClasses.StringItemRenderer.
-prototype.set_hovered = function(value) {
+    prototype.set_hovered = function(value) {
   this.hovered_ = value;
 
   if (value) {
-     this.backgroundView.style.backgroundColor = '#ECECEC';
-   } else {
-     if (this.selected_) {
-       this.backgroundView.style.backgroundColor = '#9C9C9C';
-     } else {
-       this.backgroundView.style.backgroundColor = null;
-     }
-   }
+    this.backgroundView.style.backgroundColor = '#ECECEC';
+  } else {
+    if (this.selected_) {
+      this.backgroundView.style.backgroundColor = '#9C9C9C';
+    } else {
+      this.backgroundView.style.backgroundColor = null;
+    }
+  }
 };

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3510e0a6/frameworks/js/FlexJS/src/org/apache/flex/jquery/Application.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/jquery/Application.js b/frameworks/js/FlexJS/src/org/apache/flex/jquery/Application.js
index fe16a99..90f2912 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/jquery/Application.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/jquery/Application.js
@@ -29,12 +29,14 @@ goog.provide('org.apache.flex.jquery.Application');
 
 goog.require('org.apache.flex.core.Application');
 
+
+
 /**
  * @constructor
  * @extends {org.apache.flex.core.Application}
  */
 org.apache.flex.jquery.Application = function() {
-    goog.base(this);
+  goog.base(this);
 };
 goog.inherits(org.apache.flex.jquery.Application,
     org.apache.flex.core.Application);

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3510e0a6/frameworks/js/FlexJS/src/org/apache/flex/jquery/staticControls/RadioButton.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/jquery/staticControls/RadioButton.js b/frameworks/js/FlexJS/src/org/apache/flex/jquery/staticControls/RadioButton.js
index f1e8613..e10f397 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/jquery/staticControls/RadioButton.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/jquery/staticControls/RadioButton.js
@@ -16,6 +16,8 @@ goog.provide('org.apache.flex.jquery.staticControls.RadioButton');
 
 goog.require('org.apache.flex.core.UIBase');
 
+
+
 /**
  * @constructor
  * @extends {org.apache.flex.core.UIBase}
@@ -38,6 +40,7 @@ goog.inherits(org.apache.flex.jquery.staticControls.RadioButton,
  */
 org.apache.flex.jquery.staticControls.RadioButton.prototype.radioGroupName;
 
+
 /**
  * @expose
  * @this {org.apache.flex.jquery.staticControls.RadioButton}
@@ -45,6 +48,7 @@ org.apache.flex.jquery.staticControls.RadioButton.prototype.radioGroupName;
  */
 org.apache.flex.jquery.staticControls.RadioButton.radioCounter = 0;
 
+
 /**
  * @expose
  * @this {org.apache.flex.jquery.staticControls.RadioButton}
@@ -52,12 +56,14 @@ org.apache.flex.jquery.staticControls.RadioButton.radioCounter = 0;
  */
 org.apache.flex.jquery.staticControls.RadioButton.groups = { };
 
+
 /**
  * @this {org.apache.flex.jquery.staticControls.RadioButton}
  * Flag to make sure the event handler is set only once.
  */
 org.apache.flex.jquery.staticControls.RadioButton.groupHandlerSet = false;
 
+
 /**
  * @override
  * @this {org.apache.flex.jquery.staticControls.RadioButton}
@@ -65,22 +71,23 @@ org.apache.flex.jquery.staticControls.RadioButton.groupHandlerSet = false;
 org.apache.flex.jquery.staticControls.RadioButton.prototype.createElement =
     function() {
 
-    var input = document.createElement('input');
-    input.type = 'radio';
-    input.name = 'radio';
-    input.id = 'radio' +
-        org.apache.flex.jquery.staticControls.RadioButton.radioCounter;
+  var input = document.createElement('input');
+  input.type = 'radio';
+  input.name = 'radio';
+  input.id = 'radio' +
+      org.apache.flex.jquery.staticControls.RadioButton.radioCounter;
 
-    var label = document.createElement('label');
-    label.htmlFor = input.id;
+  var label = document.createElement('label');
+  label.htmlFor = input.id;
 
-    this.element = input;
-    this.labelFor = label;
+  this.element = input;
+  this.labelFor = label;
 
-    this.positioner = this.element;
-    this.flexjs_wrapper = this;
+  this.positioner = this.element;
+  this.flexjs_wrapper = this;
 };
 
+
 /**
  * @override
  * @this {org.apache.flex.jquery.staticControls.RadioButton}
@@ -88,29 +95,31 @@ org.apache.flex.jquery.staticControls.RadioButton.prototype.createElement =
  */
 org.apache.flex.jquery.staticControls.RadioButton.prototype.setDocument =
     function(doc, id) {
-    if (!org.apache.flex.jquery.staticControls.RadioButton.groupHandlerSet)
-    {
-        org.apache.flex.jquery.staticControls.RadioButton.groupHandlerSet =
-            true;
-        doc.addEventListener('initComplete',
-                goog.bind(this.initHandler, this));
-    }
+  if (!org.apache.flex.jquery.staticControls.RadioButton.groupHandlerSet)
+  {
+    org.apache.flex.jquery.staticControls.RadioButton.groupHandlerSet =
+        true;
+    doc.addEventListener('initComplete',
+        goog.bind(this.initHandler, this));
+  }
 };
 
+
 /**
  * @this {org.apache.flex.jquery.staticControls.RadioButton}
  * @param {Event} event The event.
  */
 org.apache.flex.jquery.staticControls.RadioButton.prototype.initHandler =
-function(event) {
-    var divtags = org.apache.flex.jquery.staticControls.RadioButton.groups;
-    for (var name in divtags)
-    {
-        var div = divtags[name];
-        $(div).buttonset();
-    }
+    function(event) {
+  var divtags = org.apache.flex.jquery.staticControls.RadioButton.groups;
+  for (var name in divtags)
+  {
+    var div = divtags[name];
+    $(div).buttonset();
+  }
 };
 
+
 /**
  * @expose
  * @this {org.apache.flex.jquery.staticControls.RadioButton}
@@ -128,9 +137,9 @@ org.apache.flex.jquery.staticControls.RadioButton.prototype.get_groupName =
  * @param {string} value The groupName setter.
  */
 org.apache.flex.jquery.staticControls.RadioButton.prototype.set_groupName =
-function(value) {
+    function(value) {
 
-/*
+  /*
  * NOTE: Ideally when a RadioButton was created it would be added to an
  * existing set of RadioButtons. This is especially true for RadioButtons
  * added dynamically. However, due to a bug in jQuery
@@ -164,6 +173,7 @@ function(value) {
   this.positioner = div;
 };
 
+
 /**
  * @expose
  * @this {org.apache.flex.jquery.staticControls.RadioButton}
@@ -171,7 +181,7 @@ function(value) {
  */
 org.apache.flex.jquery.staticControls.RadioButton.prototype.get_text =
     function() {
-    return this.labelFor.innerHTML;
+  return this.labelFor.innerHTML;
 };
 
 
@@ -182,7 +192,7 @@ org.apache.flex.jquery.staticControls.RadioButton.prototype.get_text =
  */
 org.apache.flex.jquery.staticControls.RadioButton.prototype.set_text =
     function(value) {
-   this.labelFor.innerHTML = value;
+  this.labelFor.innerHTML = value;
 };
 
 
@@ -193,7 +203,7 @@ org.apache.flex.jquery.staticControls.RadioButton.prototype.set_text =
  */
 org.apache.flex.jquery.staticControls.RadioButton.prototype.get_selected =
     function() {
-    return this.element.checked;
+  return this.element.checked;
 };
 
 
@@ -204,5 +214,5 @@ org.apache.flex.jquery.staticControls.RadioButton.prototype.get_selected =
  */
 org.apache.flex.jquery.staticControls.RadioButton.prototype.set_selected =
     function(value) {
-    this.element.checked = value;
+  this.element.checked = value;
 };

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3510e0a6/frameworks/js/FlexJS/src/org/apache/flex/net/BinaryUploader.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/net/BinaryUploader.js b/frameworks/js/FlexJS/src/org/apache/flex/net/BinaryUploader.js
index 19eeb5c..7d44eac 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/net/BinaryUploader.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/net/BinaryUploader.js
@@ -425,6 +425,6 @@ org.apache.flex.net.BinaryUploader.prototype.get_MXMLProperties = function() {
  * @param {string} id The id for the instance.
  */
 org.apache.flex.net.BinaryUploader.prototype.setDocument =
-  function(document, id) {
+    function(document, id) {
   this.document = document;
 };

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3510e0a6/frameworks/js/FlexJS/src/org/apache/flex/svg/staticControls/TextButton.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/svg/staticControls/TextButton.js b/frameworks/js/FlexJS/src/org/apache/flex/svg/staticControls/TextButton.js
index 6b447fe..4c7bba6 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/svg/staticControls/TextButton.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/svg/staticControls/TextButton.js
@@ -16,17 +16,20 @@ goog.provide('org.apache.flex.svg.staticControls.TextButton');
 
 goog.require('org.apache.flex.core.UIBase');
 
+
+
 /**
  * @constructor
  * @extends {org.apache.flex.core.UIBase}
  */
 org.apache.flex.svg.staticControls.TextButton = function() {
-    org.apache.flex.core.UIBase.call(this);
+  org.apache.flex.core.UIBase.call(this);
 };
 goog.inherits(
     org.apache.flex.svg.staticControls.TextButton, org.apache.flex.core.UIBase
 );
 
+
 /**
  * @override
  * @this {org.apache.flex.svg.staticControls.TextButton}
@@ -34,24 +37,26 @@ goog.inherits(
  */
 org.apache.flex.svg.staticControls.TextButton.prototype.addToParent =
     function(p) {
-    this.element = document.createElement('embed');
-    this.element.setAttribute('src', 'skins/TextButtonSkin.svg');
+  this.element = document.createElement('embed');
+  this.element.setAttribute('src', 'skins/TextButtonSkin.svg');
   this.element.setAttribute('type', 'button');
 
-    p.appendChild(this.element);
+  p.appendChild(this.element);
 
-    this.positioner = this.element;
+  this.positioner = this.element;
 };
 
+
 /**
  * @expose
  * @this {org.apache.flex.svg.staticControls.TextButton}
  * @return {string} The text getter.
  */
 org.apache.flex.svg.staticControls.TextButton.prototype.get_text = function() {
-    return this.element.getAttribute('label');
+  return this.element.getAttribute('label');
 };
 
+
 /**
  * @expose
  * @this {org.apache.flex.svg.staticControls.TextButton}
@@ -59,5 +64,5 @@ org.apache.flex.svg.staticControls.TextButton.prototype.get_text = function() {
  */
 org.apache.flex.svg.staticControls.TextButton.prototype.set_text =
     function(value) {
-    this.element.setAttribute('label', value);
+  this.element.setAttribute('label', value);
 };

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3510e0a6/frameworks/js/FlexJS/src/org/apache/flex/utils/BinaryData.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/utils/BinaryData.js b/frameworks/js/FlexJS/src/org/apache/flex/utils/BinaryData.js
index 5ca63a7..3db1c26 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/utils/BinaryData.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/utils/BinaryData.js
@@ -14,6 +14,8 @@
 
 goog.provide('org.apache.flex.utils.BinaryData');
 
+
+
 /**
  * @constructor
  */
@@ -33,6 +35,7 @@ org.apache.flex.utils.BinaryData = function() {
 
 };
 
+
 /**
  * @expose
  * @this {org.apache.flex.utils.BinaryData}
@@ -42,6 +45,7 @@ org.apache.flex.utils.BinaryData.prototype.get_data = function() {
   return this.data_;
 };
 
+
 /**
  * @expose
  * @this {org.apache.flex.utils.BinaryData}
@@ -57,6 +61,7 @@ org.apache.flex.utils.BinaryData.prototype.writeByte = function(b) {
   this.position_++;
 };
 
+
 /**
  * @expose
  * @this {org.apache.flex.utils.BinaryData}
@@ -72,6 +77,7 @@ org.apache.flex.utils.BinaryData.prototype.writeShort = function(s) {
   this.position_ += 2;
 };
 
+
 /**
  * @expose
  * @this {org.apache.flex.utils.BinaryData}
@@ -87,6 +93,7 @@ org.apache.flex.utils.BinaryData.prototype.writeInt = function(num) {
   this.position_ += 4;
 };
 
+
 /**
  * @expose
  * @this {org.apache.flex.utils.BinaryData}
@@ -103,6 +110,7 @@ org.apache.flex.utils.BinaryData.prototype.writeUnsignedInt =
   this.position_ += 4;
 };
 
+
 /**
  * @expose
  * @this {org.apache.flex.utils.BinaryData}
@@ -116,6 +124,7 @@ org.apache.flex.utils.BinaryData.prototype.readByte = function() {
   return view[0];
 };
 
+
 /**
  * @expose
  * @this {org.apache.flex.utils.BinaryData}
@@ -129,6 +138,7 @@ org.apache.flex.utils.BinaryData.prototype.readShort = function() {
   return view[0];
 };
 
+
 /**
  * @expose
  * @this {org.apache.flex.utils.BinaryData}
@@ -142,6 +152,7 @@ org.apache.flex.utils.BinaryData.prototype.readInteger = function() {
   return view[0];
 };
 
+
 /**
  * @expose
  * @this {org.apache.flex.utils.BinaryData}
@@ -156,42 +167,47 @@ org.apache.flex.utils.BinaryData.prototype.readUnsignedInteger =
   return view[0];
 };
 
+
 /**
  * @expose
  * @this {org.apache.flex.utils.BinaryData}
  * @return {number} The offset to write to or read from.
  */
 org.apache.flex.utils.BinaryData.prototype.get_position = function() {
-   return this.position_;
+  return this.position_;
 };
 
+
 /**
  * @expose
  * @this {org.apache.flex.utils.BinaryData}
  * @param {number} value The offset to write to or read from.
  */
 org.apache.flex.utils.BinaryData.prototype.set_position = function(value) {
-   this.position_ = value;
+  this.position_ = value;
 };
 
+
 /**
  * @expose
  * @this {org.apache.flex.utils.BinaryData}
  * @return {number} The offset to write to or read from.
  */
 org.apache.flex.utils.BinaryData.prototype.get_length = function() {
-   return this.data_.byteLength;
+  return this.data_.byteLength;
 };
 
+
 /**
  * @expose
  * @this {org.apache.flex.utils.BinaryData}
  * @return {number} The number of bytes that can still be read.
  */
 org.apache.flex.utils.BinaryData.prototype.get_bytesAvailable = function() {
-   return this.data_.byteLength - this.position_;
+  return this.data_.byteLength - this.position_;
 };
 
+
 /**
  * @expose
  * @this {org.apache.flex.utils.BinaryData}
@@ -208,7 +224,7 @@ org.apache.flex.utils.BinaryData.prototype.growBuffer = function(extra) {
     view = new Int8Array(this.data_, 0, n);
     for (i = 0; i < n; i++)
     {
-        newView[i] = view[i];
+      newView[i] = view[i];
     }
     this.data_ = newBuffer;
   }

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3510e0a6/frameworks/js/FlexJS/src/org/apache/flex/utils/Language.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/utils/Language.js b/frameworks/js/FlexJS/src/org/apache/flex/utils/Language.js
index 41112b2..c7cc068 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/utils/Language.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/utils/Language.js
@@ -89,7 +89,7 @@ org.apache.flex.utils.Language.is = function(leftOperand, rightOperand) {
       leftOperand.FLEXJS_CLASS_INFO.interfaces) {
     return checkInterfaces(leftOperand);
   } else if (rightOperand === String && typeof leftOperand === 'string')
-        return true;
+    return true;
 
   return false;
 };

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3510e0a6/frameworks/js/FlexJS/src/org/apache/flex/utils/MXMLDataInterpreter.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/utils/MXMLDataInterpreter.js b/frameworks/js/FlexJS/src/org/apache/flex/utils/MXMLDataInterpreter.js
index 7ac1ffe..d3551fd 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/utils/MXMLDataInterpreter.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/utils/MXMLDataInterpreter.js
@@ -251,7 +251,7 @@ org.apache.flex.utils.MXMLDataInterpreter.generateMXMLArray =
         self.generateMXMLInstances(
             document, comp, children, opt_recursive);
         if (typeof comp.childrenAdded === 'function')
-            comp.childrenAdded();
+          comp.childrenAdded();
       } else {
         comp.setMXMLDescriptor(children);
       }

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3510e0a6/frameworks/js/FlexJS/src/org/apache/flex/utils/ViewSourceContextMenuOption.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/utils/ViewSourceContextMenuOption.js b/frameworks/js/FlexJS/src/org/apache/flex/utils/ViewSourceContextMenuOption.js
index 05195f6..92a3b77 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/utils/ViewSourceContextMenuOption.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/utils/ViewSourceContextMenuOption.js
@@ -14,19 +14,22 @@
 
 goog.provide('org.apache.flex.utils.ViewSourceContextMenuOption');
 
+
+
 /**
  * @constructor
  * @extends {org.apache.flex.events.EventDispatcher}
  */
 org.apache.flex.utils.ViewSourceContextMenuOption = function() {
-    // no implementation in JS since ViewSource is already in menu
+  // no implementation in JS since ViewSource is already in menu
 };
 
+
 /**
  * @this {org.apache.flex.utils.ViewSourceContextMenuOption}
  * @param {object} value The strand (owner) of the bead.
  */
 org.apache.flex.utils.ViewSourceContextMenuOption.prototype.set_strand =
-  function(value) {
+    function(value) {
 };
 


Mime
View raw message