flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From erikdebr...@apache.org
Subject [01/17] git commit: [flex-asjs] [refs/heads/develop] - First run of gjslint on the entire 'org.apache.flex' directory: 'gjslint -r ./'
Date Thu, 07 Nov 2013 13:58:20 GMT
Updated Branches:
  refs/heads/develop 984c6f878 -> b4fe6ab21


First run of gjslint on the entire 'org.apache.flex' directory: 'gjslint -r ./'

DataBindingTest still functions as expected.

Signed-off-by: Erik de Bruin <erik@ixsoftware.nl>


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/02e1d15b
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/02e1d15b
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/02e1d15b

Branch: refs/heads/develop
Commit: 02e1d15bf3b7a1f57e14fc9f33c99e94bfaf698c
Parents: 984c6f8
Author: Erik de Bruin <erik@ixsoftware.nl>
Authored: Thu Nov 7 12:54:46 2013 +0100
Committer: Erik de Bruin <erik@ixsoftware.nl>
Committed: Thu Nov 7 12:54:46 2013 +0100

----------------------------------------------------------------------
 .../src/org/apache/flex/core/IBeadController.js |  2 +-
 .../src/org/apache/flex/core/IBeadView.js       |  2 +-
 .../flex/core/ItemRendererClassFactory.js       |  4 +--
 .../org/apache/flex/core/SimpleCSSValuesImpl.js |  2 +-
 .../FlexJS/src/org/apache/flex/core/UIBase.js   | 30 ++++++++++----------
 .../FlexJS/src/org/apache/flex/core/ViewBase.js |  6 ++--
 .../org/apache/flex/core/ViewBaseDataBinding.js |  2 +-
 .../apache/flex/html/staticControls/Button.js   |  4 +--
 .../apache/flex/html/staticControls/ComboBox.js |  2 +-
 .../flex/html/staticControls/Container.js       |  2 +-
 .../apache/flex/html/staticControls/DataGrid.js |  4 +--
 .../org/apache/flex/html/staticControls/List.js |  8 +++---
 .../accessories/NumericOnlyTextInputBead.js     | 22 +++++++-------
 .../html/staticControls/beads/ButtonBarView.js  |  4 +--
 .../staticControls/beads/DataGridColumnView.js  |  4 +--
 .../html/staticControls/beads/DataGridView.js   | 30 ++++++++++----------
 .../flex/html/staticControls/beads/ListView.js  |  8 +++---
 .../TextItemRendererFactoryForArrayData.js      |  4 +--
 .../beads/layouts/ButtonBarLayout.js            |  6 ++--
 .../beads/layouts/NonVirtualHorizontalLayout.js |  2 +-
 .../beads/models/DataGridModel.js               |  6 ++--
 .../beads/models/DataGridPresentationModel.js   |  2 +-
 .../staticControls/beads/models/RangeModel.js   |  4 +--
 .../flex/jquery/staticControls/RadioButton.js   |  4 +--
 .../src/org/apache/flex/utils/Language.js       |  6 ++--
 25 files changed, 85 insertions(+), 85 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/02e1d15b/frameworks/js/FlexJS/src/org/apache/flex/core/IBeadController.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/core/IBeadController.js b/frameworks/js/FlexJS/src/org/apache/flex/core/IBeadController.js
index 9cff762..0bbffbb 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/core/IBeadController.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/core/IBeadController.js
@@ -25,4 +25,4 @@ org.apache.flex.core.IBeadController = function() {
 };
 goog.inherits(
               org.apache.flex.core.IBeadController,
-              org.apache.flex.events.EventDispatcher);
\ No newline at end of file
+              org.apache.flex.events.EventDispatcher);

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/02e1d15b/frameworks/js/FlexJS/src/org/apache/flex/core/IBeadView.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/core/IBeadView.js b/frameworks/js/FlexJS/src/org/apache/flex/core/IBeadView.js
index 6c5f6d1..98cad69 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/core/IBeadView.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/core/IBeadView.js
@@ -32,4 +32,4 @@ goog.inherits(
  */
 org.apache.flex.core.IBeadView.prototype.isaView = function() {
   return true;
-};
\ No newline at end of file
+};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/02e1d15b/frameworks/js/FlexJS/src/org/apache/flex/core/ItemRendererClassFactory.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/core/ItemRendererClassFactory.js b/frameworks/js/FlexJS/src/org/apache/flex/core/ItemRendererClassFactory.js
index d240715..aca389c 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/core/ItemRendererClassFactory.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/core/ItemRendererClassFactory.js
@@ -33,8 +33,8 @@ org.apache.flex.core.ItemRendererClassFactory = function() {
 org.apache.flex.core.ItemRendererClassFactory.
 prototype.set_strand = function(value) {
   this.strand_ = value;
-  
-  this.itemRendererClass = org.apache.flex.core.ValuesManager.valuesImpl.getValue(this.strand_,'iItemRenderer');
+
+  this.itemRendererClass = org.apache.flex.core.ValuesManager.valuesImpl.getValue(this.strand_,
'iItemRenderer');
   if (this.itemRendererClass) {
      this.createFunction = this.createFromClass;
    }

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/02e1d15b/frameworks/js/FlexJS/src/org/apache/flex/core/SimpleCSSValuesImpl.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/core/SimpleCSSValuesImpl.js b/frameworks/js/FlexJS/src/org/apache/flex/core/SimpleCSSValuesImpl.js
index ed5b2a4..aa806be 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/core/SimpleCSSValuesImpl.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/core/SimpleCSSValuesImpl.js
@@ -142,7 +142,7 @@ org.apache.flex.core.SimpleCSSValuesImpl.prototype.init = function(mainclass)
{
     var values = this.values;
     if (values == null)
         values = {};
-        
+
     var n = cssData.length;
     var i = 0;
     while (i < n)

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/02e1d15b/frameworks/js/FlexJS/src/org/apache/flex/core/UIBase.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/core/UIBase.js b/frameworks/js/FlexJS/src/org/apache/flex/core/UIBase.js
index c04fdb7..a0e86c3 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/core/UIBase.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/core/UIBase.js
@@ -15,10 +15,10 @@
 goog.provide('org.apache.flex.core.UIBase');
 
 goog.require('org.apache.flex.core.HTMLElementWrapper');
-goog.require('org.apache.flex.core.IBeadModel');
+goog.require('org.apache.flex.core.IBeadController');
 goog.require('org.apache.flex.core.IBeadLayout');
+goog.require('org.apache.flex.core.IBeadModel');
 goog.require('org.apache.flex.core.IBeadView');
-goog.require('org.apache.flex.core.IBeadController');
 goog.require('org.apache.flex.core.ValuesManager');
 
 
@@ -122,9 +122,9 @@ org.apache.flex.core.UIBase.prototype.removeElement = function(c) {
  * @this {org.apache.flex.core.UIBase}
  */
 org.apache.flex.core.UIBase.prototype.addedToParent = function() {
-  
+
   var c;
-  if (this.getBeadByType(org.apache.flex.core.IBeadModel) == null) 
+  if (this.getBeadByType(org.apache.flex.core.IBeadModel) == null)
   {
     c = org.apache.flex.core.ValuesManager.valuesImpl.getValue(this, 'iBeadModel');
     if (c)
@@ -136,7 +136,7 @@ org.apache.flex.core.UIBase.prototype.addedToParent = function() {
   }
   if (this.getBeadByType(org.apache.flex.core.IBeadView) == null)
   {
-    c = org.apache.flex.core.ValuesManager.valuesImpl.getValue(this,'iBeadView');
+    c = org.apache.flex.core.ValuesManager.valuesImpl.getValue(this, 'iBeadView');
     if (c)
     {
       var view = new c();
@@ -146,7 +146,7 @@ org.apache.flex.core.UIBase.prototype.addedToParent = function() {
   }
   if (this.getBeadByType(org.apache.flex.core.IBeadLayout) == null)
   {
-    c = org.apache.flex.core.ValuesManager.valuesImpl.getValue(this,'iBeadLayout');
+    c = org.apache.flex.core.ValuesManager.valuesImpl.getValue(this, 'iBeadLayout');
     if (c)
     {
       var layout = new c();
@@ -156,7 +156,7 @@ org.apache.flex.core.UIBase.prototype.addedToParent = function() {
   }
   if (this.getBeadByType(org.apache.flex.core.IBeadController) == null)
   {
-    c = org.apache.flex.core.ValuesManager.valuesImpl.getValue(this,'iBeadController');
+    c = org.apache.flex.core.ValuesManager.valuesImpl.getValue(this, 'iBeadController');
     if (c)
     {
       var controller = new c();
@@ -176,12 +176,12 @@ org.apache.flex.core.UIBase.prototype.addBead = function(bead) {
     this.beads_ = new Array();
   }
   this.beads_.push(bead);
-  
+
   if (bead instanceof org.apache.flex.core.IBeadModel)
     this.model = bead;
 
   if (bead instanceof org.apache.flex.core.IBeadView) {
-    this.dispatchEvent(new org.apache.flex.events.Event("viewChanged"));
+    this.dispatchEvent(new org.apache.flex.events.Event('viewChanged'));
   }
 
   bead.set_strand(this);
@@ -193,12 +193,12 @@ org.apache.flex.core.UIBase.prototype.addBead = function(bead) {
  * @param {Class} classOrInterface A type or interface.
  * @return {Object} The bead of the given type or null.
  */
-org.apache.flex.core.UIBase.prototype.getBeadByType = 
+org.apache.flex.core.UIBase.prototype.getBeadByType =
 function(classOrInterface) {
   if (!this.beads_) {
     this.beads_ = new Array();
   }
-  for (var i=0; i < this.beads_.length; i++) {
+  for (var i = 0; i < this.beads_.length; i++) {
       var bead = this.beads_[i];
       if (bead instanceof classOrInterface) {
         return bead;
@@ -217,10 +217,10 @@ org.apache.flex.core.UIBase.prototype.removeBead =
 function(value) {
   if (!this.beads_) return null;
   var n = beads_.length;
-  for (var i=0; i < n; i++) {
+  for (var i = 0; i < n; i++) {
     var bead = beads_[i];
     if (bead == value) {
-      beads_.splice(i,1);
+      beads_.splice(i, 1);
       return bead;
     }
   }
@@ -266,7 +266,7 @@ org.apache.flex.core.UIBase.prototype.get_width = function() {
   var strpixels = this.positioner.style.width;
   var pixels = parseFloat(strpixels);
   return pixels;
-}
+};
 
 
 /**
@@ -287,7 +287,7 @@ org.apache.flex.core.UIBase.prototype.get_height = function() {
   var strpixels = this.positioner.style.height;
   var pixels = parseFloat(strpixels);
   return pixels;
-}
+};
 
 
 /**

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/02e1d15b/frameworks/js/FlexJS/src/org/apache/flex/core/ViewBase.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/core/ViewBase.js b/frameworks/js/FlexJS/src/org/apache/flex/core/ViewBase.js
index d171acd..40867cb 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/core/ViewBase.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/core/ViewBase.js
@@ -16,8 +16,8 @@ goog.provide('org.apache.flex.core.ViewBase');
 
 goog.require('org.apache.flex.core.UIBase');
 goog.require('org.apache.flex.core.ValuesManager');
-goog.require('org.apache.flex.events.ValueChangeEvent');
 goog.require('org.apache.flex.events.Event');
+goog.require('org.apache.flex.events.ValueChangeEvent');
 goog.require('org.apache.flex.utils.MXMLDataInterpreter');
 
 
@@ -77,7 +77,7 @@ org.apache.flex.core.ViewBase.prototype.MXMLDescriptor = null;
  * @this {org.apache.flex.core.ViewBase}
  */
 org.apache.flex.core.ViewBase.prototype.addedToParent = function() {
-      
+
   //goog.base(this,'addedToParent');
 
   org.apache.flex.utils.MXMLDataInterpreter.generateMXMLProperties(this,
@@ -116,7 +116,7 @@ org.apache.flex.core.ViewBase.prototype.set_states = function(value) {
     this.states_ = value;
 
     var impl = org.apache.flex.core.ValuesManager.valuesImpl.
-                getValue(this, "iStatesImpl");
+                getValue(this, 'iStatesImpl');
     // TODO: (aharui) check if bead already exists
     this.addBead(new impl());
 };

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/02e1d15b/frameworks/js/FlexJS/src/org/apache/flex/core/ViewBaseDataBinding.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/core/ViewBaseDataBinding.js b/frameworks/js/FlexJS/src/org/apache/flex/core/ViewBaseDataBinding.js
index cc86875..e3b1dd1 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/core/ViewBaseDataBinding.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/core/ViewBaseDataBinding.js
@@ -108,7 +108,7 @@ org.apache.flex.core.ViewBaseDataBinding.prototype.initCompleteHandler
=
                         sb.sourcePropertyName = binding.source[1];
                         sb.setDocument(this.strand_);
                         prop = binding.destination[0];
-                        
+
                         if (typeof(this.strand_['get_' +
                                     prop]) == 'function')
                                 destination = this.strand_[

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/02e1d15b/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/Button.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/Button.js b/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/Button.js
index 43527f5..61ab5ae 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/Button.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/Button.js
@@ -40,9 +40,9 @@ org.apache.flex.html.staticControls.Button.prototype.createElement =
 
   this.positioner = this.element;
   this.element.flexjs_wrapper = this;
-  
+
   var impl = org.apache.flex.core.ValuesManager.valuesImpl.
-                getValue(this, "iStatesImpl");
+                getValue(this, 'iStatesImpl');
 
 };
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/02e1d15b/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/ComboBox.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/ComboBox.js b/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/ComboBox.js
index 04f88b4..f8ac45c 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/ComboBox.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/ComboBox.js
@@ -60,7 +60,7 @@ org.apache.flex.html.staticControls.ComboBox.prototype.createElement =
 
   this.positioner = this.element;
 
-  // add a click handler so that a click outside of the combo box can 
+  // add a click handler so that a click outside of the combo box can
   // dismiss the pop-up should it be visible.
   goog.events.listen(document, 'click',
       goog.bind(this.dismissPopup, this));

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/02e1d15b/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/Container.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/Container.js b/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/Container.js
index 2cf5eea..f20f955 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/Container.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/Container.js
@@ -50,7 +50,7 @@ org.apache.flex.html.staticControls.Container.prototype.createElement =
  */
 org.apache.flex.html.staticControls.Container.prototype.addElement =
 function(child) {
-  goog.base(this,'addElement',child);
+  goog.base(this, 'addElement', child);
   this.dispatchEvent('elementAdded');
 };
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/02e1d15b/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/DataGrid.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/DataGrid.js b/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/DataGrid.js
index fd16eec..3db5e84 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/DataGrid.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/DataGrid.js
@@ -45,11 +45,11 @@ org.apache.flex.html.staticControls.DataGrid.prototype.createElement =
   this.positioner = this.element;
   this.element.flexjs_wrapper = this;
   this.set_className('DataGrid');
-  
+
  // this.addBead(new
  //       org.apache.flex.html.staticControls.beads.DataGridView());
 };
-  
+
 /**
  * @expose
  * @this {org.apache.flex.html.staticControls.DataGrid}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/02e1d15b/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/List.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/List.js b/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/List.js
index 5b59874..c68538d 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/List.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/List.js
@@ -14,8 +14,8 @@
 
 goog.provide('org.apache.flex.html.staticControls.List');
 
-goog.require('org.apache.flex.core.ListBase');
 goog.require('org.apache.flex.core.IItemRenderer');
+goog.require('org.apache.flex.core.ListBase');
 goog.require('org.apache.flex.html.staticControls.beads.ListView');
 goog.require('org.apache.flex.html.staticControls.beads.TextItemRendererFactoryForArrayData');
 goog.require('org.apache.flex.html.staticControls.beads.controllers.ListSingleSelectionMouseController');
@@ -50,8 +50,8 @@ org.apache.flex.html.staticControls.List.prototype.createElement =
  */
 org.apache.flex.html.staticControls.List.prototype.addedToParent =
 function() {
-  goog.base(this,'addedToParent');
-  
+  goog.base(this, 'addedToParent');
+
   var c = this.getBeadByType(org.apache.flex.core.IItemRenderer);
   if (c == null) {
     this.addBead(new
@@ -72,7 +72,7 @@ function() {
   var dg = listView.get_dataGroup();
   var items = dg.renderers;
   return items;
-}
+};
 
 /**
  * @expose

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/02e1d15b/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/accessories/NumericOnlyTextInputBead.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/accessories/NumericOnlyTextInputBead.js
b/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/accessories/NumericOnlyTextInputBead.js
index 278bf33..1e28a7d 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/accessories/NumericOnlyTextInputBead.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/accessories/NumericOnlyTextInputBead.js
@@ -38,7 +38,7 @@ org.apache.flex.html.staticControls.accessories.NumericOnlyTextInputBead.
 prototype.set_strand = function(value) {
   if (this.strand_ !== value) {
     this.strand_ = value;
-    value.addEventListener('keypress',goog.bind(this.validateInput, this));
+    value.addEventListener('keypress', goog.bind(this.validateInput, this));
   }
 };
 
@@ -46,31 +46,31 @@ org.apache.flex.html.staticControls.accessories.NumericOnlyTextInputBead.
 prototype.validateInput = function(event) {
 
   var code = event.charCode;
-  
+
   // backspace or delete
   if (event.keyCode == 8 || event.keyCode == 46) return;
-  
+
   // tab or return/enter
   if (event.keyCode == 9 || event.keyCode == 13) return;
-  
+
   // left or right cursor arrow
   if (event.keyCode == 37 || event.keyCode == 39) return;
-  
-  var key = String.fromCharCode( code );
+
+  var key = String.fromCharCode(code);
 
   var regex = /[0-9]|\./;
-  if( !regex.test(key) ) {
+  if (!regex.test(key)) {
     event.returnValue = false;
-    if(event.preventDefault) event.preventDefault();
+    if (event.preventDefault) event.preventDefault();
     return;
   }
   var cursorStart = event.target.selectionStart;
-  var cursorEnd   = event.target.selectionEnd;
-  var left = event.target.value.substring(0,cursorStart);
+  var cursorEnd = event.target.selectionEnd;
+  var left = event.target.value.substring(0, cursorStart);
   var right = event.target.value.substr(cursorEnd);
   var complete = left + key + right;
   if (isNaN(complete)) {
     event.returnValue = false;
-    if(event.preventDefault) event.preventDefault();
+    if (event.preventDefault) event.preventDefault();
   }
 };

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/02e1d15b/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/ButtonBarView.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/ButtonBarView.js
b/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/ButtonBarView.js
index 98fbd5c..ac5b6b1 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/ButtonBarView.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/ButtonBarView.js
@@ -23,7 +23,7 @@ goog.require('org.apache.flex.html.staticControls.beads.ListView');
 org.apache.flex.html.staticControls.beads.ButtonBarView = function() {
   this.lastSelectedIndex = -1;
   goog.base(this);
-  
+
   this.className = 'ButtonBarView';
 };
 goog.inherits(
@@ -38,6 +38,6 @@ goog.inherits(
 org.apache.flex.html.staticControls.beads.ButtonBarView.prototype.set_strand =
     function(value) {
 
-  goog.base(this,'set_strand',value);
+  goog.base(this, 'set_strand', value);
   this.strand_ = value;
 };

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/02e1d15b/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/DataGridColumnView.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/DataGridColumnView.js
b/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/DataGridColumnView.js
index c765ab8..7a647d8 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/DataGridColumnView.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/DataGridColumnView.js
@@ -37,8 +37,8 @@ goog.inherits(
 org.apache.flex.html.staticControls.beads.DataGridColumnView.prototype.set_strand =
     function(value) {
     this.strand_ = value;
-    
-    goog.base(this,'set_strand',value);
+
+    goog.base(this, 'set_strand', value);
 };
 
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/02e1d15b/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/DataGridView.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/DataGridView.js
b/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/DataGridView.js
index c4a604c..de0a712 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/DataGridView.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/DataGridView.js
@@ -17,16 +17,16 @@ goog.provide('org.apache.flex.html.staticControls.beads.DataGridView');
 goog.require('org.apache.flex.core.IBeadView');
 goog.require('org.apache.flex.core.IItemRendererParent');
 goog.require('org.apache.flex.events.Event');
-goog.require('org.apache.flex.html.staticControls.beads.TextItemRendererFactoryForArrayData');
-goog.require('org.apache.flex.html.staticControls.beads.DataItemRendererFactoryForColumnData');
+goog.require('org.apache.flex.html.staticControls.ButtonBar');
+goog.require('org.apache.flex.html.staticControls.Container');
+goog.require('org.apache.flex.html.staticControls.SimpleList');
 goog.require('org.apache.flex.html.staticControls.beads.DataGridColumnView');
+goog.require('org.apache.flex.html.staticControls.beads.DataItemRendererFactoryForColumnData');
+goog.require('org.apache.flex.html.staticControls.beads.TextItemRendererFactoryForArrayData');
 goog.require('org.apache.flex.html.staticControls.beads.layouts.NonVirtualHorizontalLayout');
-goog.require('org.apache.flex.html.staticControls.beads.models.DataGridPresentationModel');
 goog.require('org.apache.flex.html.staticControls.beads.models.ArraySelectionModel');
 goog.require('org.apache.flex.html.staticControls.beads.models.DataGridModel');
-goog.require('org.apache.flex.html.staticControls.ButtonBar');
-goog.require('org.apache.flex.html.staticControls.Container');
-goog.require('org.apache.flex.html.staticControls.SimpleList');
+goog.require('org.apache.flex.html.staticControls.beads.models.DataGridPresentationModel');
 
 /**
  * @constructor
@@ -52,7 +52,7 @@ function(value) {
   this.strand_ = value;
 
   // Use the presentation model's columnLabels as the dataProvider for the
-  // ButtonBar header. 
+  // ButtonBar header.
   var pm = value.getBeadByType(
     org.apache.flex.html.staticControls.beads.models.DataGridPresentationModel);
   this.buttonBarModel = new
@@ -60,11 +60,11 @@ function(value) {
   this.buttonBarModel.set_dataProvider(pm.get_columnLabels());
   this.buttonBar = new org.apache.flex.html.staticControls.ButtonBar();
   this.buttonBar.addBead(this.buttonBarModel);
-  
+
   this.buttonBar.set_height(20);
   this.buttonBar.set_width(this.strand_.get_width());
   this.strand_.addElement(this.buttonBar);
-  
+
   this.columnContainer = new org.apache.flex.html.staticControls.Container();
   var layout = new org.apache.flex.html.staticControls.beads.layouts.
                                                    NonVirtualHorizontalLayout();
@@ -79,16 +79,16 @@ function(value) {
   var columnHeight = this.strand_.get_height() - this.buttonBar.get_height();
 
   this.columns = new Array();
-  
-  for(var i=0; i < pm.get_columnLabels().length; i++) {
+
+  for (var i = 0; i < pm.get_columnLabels().length; i++) {
     var columnView = new
                  org.apache.flex.html.staticControls.beads.DataGridColumnView();
     columnView.set_columnIndex(i);
     columnView.set_labelField(sharedModel.get_labelFields()[i]);
-    
+
     var factory = new org.apache.flex.html.staticControls.beads.
                                          DataItemRendererFactoryForColumnData();
-    
+
     var column = new org.apache.flex.html.staticControls.List();
     column.set_dataProvider(this.strand_.get_dataProvider());
     column.set_width(columnWidth);
@@ -112,9 +112,9 @@ org.apache.flex.html.staticControls.beads.DataGridView.prototype.
 columnListChangeHandler = function(event) {
   var list = event.target;
   var index = list.get_selectedIndex();
-  
+
   if (index != this.strand_.get_model().get_selectedIndex()) {
-    for(var i=0; i < this.columns.length; i++) {
+    for (var i = 0; i < this.columns.length; i++) {
       if (list != this.columns[i]) {
         this.columns[i].set_selectedIndex(index);
       }

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/02e1d15b/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/ListView.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/ListView.js
b/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/ListView.js
index fdc73b4..75b2856 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/ListView.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/html/staticControls/beads/ListView.js
@@ -14,10 +14,10 @@
 
 goog.provide('org.apache.flex.html.staticControls.beads.ListView');
 
-goog.require('org.apache.flex.core.IBeadView');
 goog.require('org.apache.flex.core.IBeadLayout');
-goog.require('org.apache.flex.core.ValuesManager');
+goog.require('org.apache.flex.core.IBeadView');
 goog.require('org.apache.flex.core.IItemRendererParent');
+goog.require('org.apache.flex.core.ValuesManager');
 goog.require('org.apache.flex.html.staticControls.beads.TextItemRendererFactoryForArrayData');
 goog.require('org.apache.flex.html.staticControls.beads.models.ArraySelectionModel');
 goog.require('org.apache.flex.html.staticControls.supportClasses.NonVirtualDataGroup');
@@ -29,7 +29,7 @@ goog.require('org.apache.flex.html.staticControls.supportClasses.NonVirtualDataG
 org.apache.flex.html.staticControls.beads.ListView = function() {
   this.lastSelectedIndex = -1;
   goog.base(this);
-  
+
   this.className = 'ListView';
 };
 goog.inherits(
@@ -45,7 +45,7 @@ org.apache.flex.html.staticControls.beads.ListView.prototype.set_strand
=
     function(value) {
 
   this.strand_ = value;
-  
+
   /*if (this.strand_.getBeadByType(org.apache.flex.core.IBeadLayout) == null) {
     var m = org.apache.flex.core.ValuesManager.valuesImpl.getValue(this.strand_,'iBeadLayout');
     var c = new m();

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/02e1d15b/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 48e1cf6..585cce3 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
@@ -14,8 +14,8 @@
 
 goog.provide('org.apache.flex.html.staticControls.beads.TextItemRendererFactoryForArrayData');
 
-goog.require('org.apache.flex.events.EventDispatcher');
 goog.require('org.apache.flex.core.IItemRenderer');
+goog.require('org.apache.flex.events.EventDispatcher');
 goog.require('org.apache.flex.html.staticControls.beads.models.ArraySelectionModel');
 
 /**
@@ -52,7 +52,7 @@ prototype.set_strand = function(value) {
 
   this.model.addEventListener('dataProviderChanged',
       goog.bind(this.dataProviderChangedHandler, this));
-  
+
   this.dataProviderChangedHandler(null);
 };
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/02e1d15b/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 3ae0169..ed389b9 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
@@ -61,11 +61,11 @@ prototype.changeHandler = function(event) {
 
   children = this.strand_.internalChildren();
   n = children.length;
-  
+
   xpos = 0;
   useWidth = this.strand_.get_width() / n;
   useHeight = this.strand_.get_height();
-  
+
   for (i = 0; i < n; i++)
   {
     children[i].set_width(useWidth);
@@ -73,7 +73,7 @@ prototype.changeHandler = function(event) {
     children[i].element.style['vertical-align'] = 'middle';
     children[i].element.style['left-margin'] = 'auto';
     children[i].element.style['right-margin'] = 'auto';
-    
+
     if (children[i].element.style.display == 'none')
       children[i].lastDisplay_ = 'inline-block';
     else

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/02e1d15b/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 6303f70..ae31da3 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
@@ -47,7 +47,7 @@ prototype.set_strand =
     this.strand_.addEventListener('elementAdded',
                                   goog.bind(this.changeHandler, this));
     this.strand_.element.style.display = 'block';
-    
+
     this.changeHandler(null);
   }
 };

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/02e1d15b/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 e1b44e6..df94f47 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
@@ -23,9 +23,9 @@ goog.require('org.apache.flex.html.staticControls.beads.models.ArraySelectionMod
 org.apache.flex.html.staticControls.beads.models.DataGridModel =
 function() {
   goog.base(this);
-  
+
   this.labelFields_ = [];
-  
+
   this.className = 'DataGridModel';
 };
 goog.inherits(
@@ -40,7 +40,7 @@ goog.inherits(
  */
 org.apache.flex.html.staticControls.beads.models.DataGridModel.prototype.
 set_strand = function(value) {
-  goog.base(this,'set_strand',value);
+  goog.base(this, 'set_strand', value);
   this.strand_ = value;
 };
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/02e1d15b/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 24c9718..3aa4ec6 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
@@ -23,7 +23,7 @@ goog.require('org.apache.flex.events.EventDispatcher');
 org.apache.flex.html.staticControls.beads.models.DataGridPresentationModel =
 function() {
   goog.base(this);
-  
+
   this.className = 'DataGridPresentationModel';
 };
 goog.inherits(

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/02e1d15b/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 2a18cb4..fcc2c29 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
@@ -116,7 +116,7 @@ set_value = function(newValue) {
   if (this.value_ != newValue) {
 
     // value must lie within the boundaries of minimum & maximum
-    // and be on a step interval, so the value is adjusted to 
+    // and be on a step interval, so the value is adjusted to
     // what is coming in.
     newValue = Math.max(this.minimum_, newValue - this.stepSize_);
     newValue = Math.min(this.maximum_, newValue + this.stepSize_);
@@ -196,5 +196,5 @@ snap = function(value) {
   if (value - n > n + si - value)
     return n + si;
   return n;
-}
+};
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/02e1d15b/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 85ce154..aa9726a 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
@@ -137,14 +137,14 @@ function(value) {
  * programmatically. For this version the groups are maintained here in RadioButton and once
the
  * application has finished initializing, the groups are given their buttonset().
  */
- 
+
 	this.radioGroupName = value;
 
 	this.element.name = value;
 
 	var div;
 
-	if( org.apache.flex.jquery.staticControls.RadioButton.groups[value] ) {
+	if (org.apache.flex.jquery.staticControls.RadioButton.groups[value]) {
 		div = org.apache.flex.jquery.staticControls.RadioButton.groups[value];
 		div.appendChild(this.element);
 		div.appendChild(this.labelFor);

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/02e1d15b/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 a0f0ee8..2d46c7c 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/utils/Language.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/utils/Language.js
@@ -65,7 +65,7 @@ org.apache.flex.utils.Language._int = function(value) {
 org.apache.flex.utils.Language.is = function(leftOperand, rightOperand) {
 	var checkInterfaces;
 
-	checkInterfaces = function (left) {
+	checkInterfaces = function(left) {
 		var i, interfaces;
 
 		interfaces = left.FLEXJS_CLASS_INFO.interfaces;
@@ -81,14 +81,14 @@ org.apache.flex.utils.Language.is = function(leftOperand, rightOperand)
{
 		}
 
 		return false;
-	}
+	};
 
 	if (leftOperand instanceof rightOperand) {
 		return true;
 	} else if (leftOperand.FLEXJS_CLASS_INFO &&
 	    leftOperand.FLEXJS_CLASS_INFO.interfaces) {
 		return checkInterfaces(leftOperand);
-	} else if (rightOperand === String && typeof leftOperand === "string")
+	} else if (rightOperand === String && typeof leftOperand === 'string')
         return true;
 
 	return false;


Mime
View raw message