flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [19/47] git commit: [flex-asjs] [refs/heads/develop] - lint
Date Wed, 08 Apr 2015 23:05:38 GMT
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/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 1642a6d..fd84f49 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/net/BinaryUploader.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/net/BinaryUploader.js
@@ -131,33 +131,33 @@ org_apache_flex_net_BinaryUploader.HTTP_METHOD_DELETE = 'DELETE';
 
 Object.defineProperties(org_apache_flex_net_BinaryUploader.prototype, {
     'data': {
- 		/** @this {org_apache_flex_net_BinaryUploader} */
+        /** @this {org_apache_flex_net_BinaryUploader} */
         get: function() {
             return this.element.responseText;
         }
     },
     'binaryData': {
- 		/** @this {org_apache_flex_net_BinaryUploader} */
+        /** @this {org_apache_flex_net_BinaryUploader} */
         get: function() {
             return this.binaryData_;
         },
- 		/** @this {org_apache_flex_net_BinaryUploader} */
+        /** @this {org_apache_flex_net_BinaryUploader} */
         set: function(value) {
             this.binaryData_ = value;
         }
     },
     'contentType': {
- 		/** @this {org_apache_flex_net_BinaryUploader} */
+        /** @this {org_apache_flex_net_BinaryUploader} */
         get: function() {
             return this.contentType_;
         },
- 		/** @this {org_apache_flex_net_BinaryUploader} */
+        /** @this {org_apache_flex_net_BinaryUploader} */
         set: function(value) {
             this.contentType_ = value;
         }
     },
     'headers': {
- 		/** @this {org_apache_flex_net_BinaryUploader} */
+        /** @this {org_apache_flex_net_BinaryUploader} */
         get: function() {
             if (this.headers_ === 'undefined') {
               this.headers_ = [];
@@ -165,23 +165,23 @@ Object.defineProperties(org_apache_flex_net_BinaryUploader.prototype,
{
 
             return this.headers_;
         },
- 		/** @this {org_apache_flex_net_BinaryUploader} */
+        /** @this {org_apache_flex_net_BinaryUploader} */
         set: function(value) {
             this.headers_ = value;
         }
     },
     'method': {
- 		/** @this {org_apache_flex_net_BinaryUploader} */
+        /** @this {org_apache_flex_net_BinaryUploader} */
         get: function() {
             return this.method_;
         },
- 		/** @this {org_apache_flex_net_BinaryUploader} */
+        /** @this {org_apache_flex_net_BinaryUploader} */
         set: function(value) {
             this.method_ = value;
         }
     },
     'responseHeaders': {
- 		/** @this {org_apache_flex_net_BinaryUploader} */
+        /** @this {org_apache_flex_net_BinaryUploader} */
         get: function() {
             var allHeaders, c, hdr, i, n, part1, part2;
 
@@ -202,43 +202,43 @@ Object.defineProperties(org_apache_flex_net_BinaryUploader.prototype,
{
         }
     },
     'responseURL': {
- 		/** @this {org_apache_flex_net_BinaryUploader} */
+        /** @this {org_apache_flex_net_BinaryUploader} */
         get: function() {
             return this.responseURL_;
         }
     },
     'status': {
- 		/** @this {org_apache_flex_net_BinaryUploader} */
+        /** @this {org_apache_flex_net_BinaryUploader} */
         get: function() {
             return this.status_;
         }
     },
     'timeout': {
- 		/** @this {org_apache_flex_net_BinaryUploader} */
+        /** @this {org_apache_flex_net_BinaryUploader} */
         get: function() {
             return this.timeout_;
         },
- 		/** @this {org_apache_flex_net_BinaryUploader} */
+        /** @this {org_apache_flex_net_BinaryUploader} */
         set: function(value) {
             this.timeout_ = value;
         }
     },
     'url': {
- 		/** @this {org_apache_flex_net_BinaryUploader} */
+        /** @this {org_apache_flex_net_BinaryUploader} */
         get: function() {
             return this.url_;
         },
- 		/** @this {org_apache_flex_net_BinaryUploader} */
+        /** @this {org_apache_flex_net_BinaryUploader} */
         set: function(value) {
             this.url_ = value;
         }
     },
     'id': {
- 		/** @this {org_apache_flex_net_BinaryUploader} */
+        /** @this {org_apache_flex_net_BinaryUploader} */
         get: function() {
             return this.id;
         },
- 		/** @this {org_apache_flex_net_BinaryUploader} */
+        /** @this {org_apache_flex_net_BinaryUploader} */
         set: function(value) {
             if (this.id !== value) {
               this.id = value;
@@ -247,13 +247,13 @@ Object.defineProperties(org_apache_flex_net_BinaryUploader.prototype,
{
         }
     },
     'MXMLDescriptor': {
- 		/** @this {org_apache_flex_net_BinaryUploader} */
+        /** @this {org_apache_flex_net_BinaryUploader} */
         get: function() {
             return null;
         }
     },
     'MXMLProperties': {
- 		/** @this {org_apache_flex_net_BinaryUploader} */
+        /** @this {org_apache_flex_net_BinaryUploader} */
         get: function() {
             return null;
         }

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/net/HTTPService.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/net/HTTPService.js b/frameworks/js/FlexJS/src/org/apache/flex/net/HTTPService.js
index 3fc2d43..2daa8b6 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/net/HTTPService.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/net/HTTPService.js
@@ -137,39 +137,39 @@ org_apache_flex_net_HTTPService.HTTP_METHOD_DELETE = 'DELETE';
 
 Object.defineProperties(org_apache_flex_net_HTTPService.prototype, {
     'beads': {
- 		/** @this {org_apache_flex_net_HTTPService} */
+        /** @this {org_apache_flex_net_HTTPService} */
         set: function(value) {
             this.beads_ = value;
         }
     },
     'data': {
- 		/** @this {org_apache_flex_net_HTTPService} */
+        /** @this {org_apache_flex_net_HTTPService} */
         get: function() {
             return this.element.responseText;
         }
     },
     'contentData': {
- 		/** @this {org_apache_flex_net_HTTPService} */
+        /** @this {org_apache_flex_net_HTTPService} */
         get: function() {
             return this.contentData_;
         },
- 		/** @this {org_apache_flex_net_HTTPService} */
+        /** @this {org_apache_flex_net_HTTPService} */
         set: function(value) {
             this.contentData_ = value;
         }
     },
     'contentType': {
- 		/** @this {org_apache_flex_net_HTTPService} */
+        /** @this {org_apache_flex_net_HTTPService} */
         get: function() {
             return this.contentType_;
         },
- 		/** @this {org_apache_flex_net_HTTPService} */
+        /** @this {org_apache_flex_net_HTTPService} */
         set: function(value) {
             this.contentType_ = value;
         }
     },
     'headers': {
- 		/** @this {org_apache_flex_net_HTTPService} */
+        /** @this {org_apache_flex_net_HTTPService} */
         get: function() {
             if (this.headers_ === undefined) {
               this.headers_ = [];
@@ -177,23 +177,23 @@ Object.defineProperties(org_apache_flex_net_HTTPService.prototype, {
 
             return this.headers_;
         },
- 		/** @this {org_apache_flex_net_HTTPService} */
+        /** @this {org_apache_flex_net_HTTPService} */
         set: function(value) {
             this.headers_ = value;
         }
     },
     'method': {
- 		/** @this {org_apache_flex_net_HTTPService} */
+        /** @this {org_apache_flex_net_HTTPService} */
         get: function() {
             return this.method_;
         },
- 		/** @this {org_apache_flex_net_HTTPService} */
+        /** @this {org_apache_flex_net_HTTPService} */
         set: function(value) {
             this.method_ = value;
         }
     },
     'responseHeaders': {
- 		/** @this {org_apache_flex_net_HTTPService} */
+        /** @this {org_apache_flex_net_HTTPService} */
         get: function() {
             var allHeaders, c, hdr, i, n, part1, part2;
 
@@ -214,43 +214,43 @@ Object.defineProperties(org_apache_flex_net_HTTPService.prototype, {
         }
     },
     'responseURL': {
- 		/** @this {org_apache_flex_net_HTTPService} */
+        /** @this {org_apache_flex_net_HTTPService} */
         get: function() {
             return this.responseURL_;
         }
     },
     'status': {
- 		/** @this {org_apache_flex_net_HTTPService} */
+        /** @this {org_apache_flex_net_HTTPService} */
         get: function() {
             return this.status_;
         }
     },
     'timeout': {
- 		/** @this {org_apache_flex_net_HTTPService} */
+        /** @this {org_apache_flex_net_HTTPService} */
         get: function() {
             return this.timeout_;
         },
- 		/** @this {org_apache_flex_net_HTTPService} */
+        /** @this {org_apache_flex_net_HTTPService} */
         set: function(value) {
             this.timeout_ = value;
         }
     },
     'url': {
- 		/** @this {org_apache_flex_net_HTTPService} */
+        /** @this {org_apache_flex_net_HTTPService} */
         get: function() {
             return this.url_;
         },
- 		/** @this {org_apache_flex_net_HTTPService} */
+        /** @this {org_apache_flex_net_HTTPService} */
         set: function(value) {
             this.url_ = value;
         }
     },
     'id': {
- 		/** @this {org_apache_flex_net_HTTPService} */
+        /** @this {org_apache_flex_net_HTTPService} */
         get: function() {
             return this.id;
         },
- 		/** @this {org_apache_flex_net_HTTPService} */
+        /** @this {org_apache_flex_net_HTTPService} */
         set: function(value) {
             if (this.id !== value) {
               this.id = value;
@@ -259,19 +259,19 @@ Object.defineProperties(org_apache_flex_net_HTTPService.prototype, {
         }
     },
     'MXMLDescriptor': {
- 		/** @this {org_apache_flex_net_HTTPService} */
+        /** @this {org_apache_flex_net_HTTPService} */
         get: function() {
             return null;
         }
     },
     'MXMLProperties': {
- 		/** @this {org_apache_flex_net_HTTPService} */
+        /** @this {org_apache_flex_net_HTTPService} */
         get: function() {
             return null;
         }
     },
     'strand': {
- 		/** @this {org_apache_flex_net_HTTPService} */
+        /** @this {org_apache_flex_net_HTTPService} */
         set: function(value) {
             if (this.strand_ !== value) {
               this.strand_ = value;

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/net/dataConverters/LazyCollection.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/net/dataConverters/LazyCollection.js
b/frameworks/js/FlexJS/src/org/apache/flex/net/dataConverters/LazyCollection.js
index 715edaf..41efcbd 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/net/dataConverters/LazyCollection.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/net/dataConverters/LazyCollection.js
@@ -73,58 +73,58 @@ org_apache_flex_net_dataConverters_LazyCollection.prototype.FLEXJS_CLASS_INFO
=
 Object.defineProperties(org_apache_flex_net_dataConverters_LazyCollection.prototype, {
     'strand': {
         /** @this {org_apache_flex_net_dataConverters_LazyCollection} */
-		set: function(value) {
+        set: function(value) {
             if (this.strand_ !== value) {
               this.strand_ = value;
               this.strand_.addEventListener('complete',
               goog.bind(this.completeHandler, this));
             }
-  		}
-	},
+        }
+    },
     'length': {
         /** @this {org_apache_flex_net_dataConverters_LazyCollection} */
         get: function() {
             return this.rawData_ ? this.rawData_.length : 0;
-		}
-	},
+        }
+    },
     'inputParser': {
         /** @this {org_apache_flex_net_dataConverters_LazyCollection} */
         get: function() {
             return this.inputParser_;
-		},
+        },
         /** @this {org_apache_flex_net_dataConverters_LazyCollection} */
-		set: function(value) {
+        set: function(value) {
             this.inputParser_ = value;
-		}
-	},
+        }
+    },
     'itemConverter': {
         /** @this {org_apache_flex_net_dataConverters_LazyCollection} */
         get: function() {
             return this.itemConverter_;
-		},
+        },
         /** @this {org_apache_flex_net_dataConverters_LazyCollection} */
-		set: function(value) {
+        set: function(value) {
             this.itemConverter_ = value;
-		}
-	},
+        }
+    },
     'id': {
         /** @this {org_apache_flex_net_dataConverters_LazyCollection} */
         get: function() {
             return this.id_;
-		},
+        },
         /** @this {org_apache_flex_net_dataConverters_LazyCollection} */
-		set: function(value) {
+        set: function(value) {
             if (this.id_ !== value) {
               this.id_ = value;
               // this.dispatchEvent(new Event('idChanged'));
             }
-		}
-	}
+        }
+    }
 });
 
 
 /**
- * @expose
+ * @private
  * @type {string}
  */
 org_apache_flex_net_dataConverters_LazyCollection.prototype.id_ = '';

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/svg/TextButton.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/svg/TextButton.js b/frameworks/js/FlexJS/src/org/apache/flex/svg/TextButton.js
index 807cdf5..e0b3b69 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/svg/TextButton.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/svg/TextButton.js
@@ -79,10 +79,10 @@ Object.defineProperties(org_apache_flex_svg_TextButton.prototype, {
         /** @this {org_apache_flex_svg_TextButton} */
         get: function() {
             return this.element.getAttribute('label');
-		},
+        },
         /** @this {org_apache_flex_svg_TextButton} */
-		set: function(value) {
+        set: function(value) {
             this.element.setAttribute('label', value);
-		}
-	}
+        }
+    }
 });

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/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 ede0bfd..ec98f34 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/utils/BinaryData.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/utils/BinaryData.js
@@ -48,29 +48,29 @@ org_apache_flex_utils_BinaryData.prototype.FLEXJS_CLASS_INFO =
 
 Object.defineProperties(org_apache_flex_utils_BinaryData.prototype, {
     'data': {
- 		/** @this {org_apache_flex_utils_BinaryData} */
+        /** @this {org_apache_flex_utils_BinaryData} */
         get: function() {
             return this.data_;
         }
     },
     'position': {
- 		/** @this {org_apache_flex_utils_BinaryData} */
+        /** @this {org_apache_flex_utils_BinaryData} */
         get: function() {
             return this.position_;
         },
- 		/** @this {org_apache_flex_utils_BinaryData} */
+        /** @this {org_apache_flex_utils_BinaryData} */
         set: function(value) {
             this.position_ = value;
         }
     },
     'length': {
- 		/** @this {org_apache_flex_utils_BinaryData} */
+        /** @this {org_apache_flex_utils_BinaryData} */
         get: function() {
             return this.data_.byteLength;
         }
     },
     'bytesAvailable': {
- 		/** @this {org_apache_flex_utils_BinaryData} */
+        /** @this {org_apache_flex_utils_BinaryData} */
         get: function() {
             return this.data_.byteLength - this.position_;
         }

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/utils/MixinManager.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/utils/MixinManager.js b/frameworks/js/FlexJS/src/org/apache/flex/utils/MixinManager.js
index d33d64f..6edbc24 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/utils/MixinManager.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/utils/MixinManager.js
@@ -54,6 +54,6 @@ Object.defineProperties(org_apache_flex_utils_MixinManager.prototype, {
                 }
               }
             }
-		}
-	}
+        }
+    }
 });

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/frameworks/js/FlexJS/src/org/apache/flex/utils/Timer.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/utils/Timer.js b/frameworks/js/FlexJS/src/org/apache/flex/utils/Timer.js
index 0bc2acd..a69b3bc 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/utils/Timer.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/utils/Timer.js
@@ -109,33 +109,33 @@ org_apache_flex_utils_Timer.prototype.timerHandler =
 
 Object.defineProperties(org_apache_flex_utils_Timer.prototype, {
     'currentCount': {
- 		/** @this {org_apache_flex_utils_Timer} */
+        /** @this {org_apache_flex_utils_Timer} */
         get: function() {
             return this._currentCount;
         }
     },
     'running': {
- 		/** @this {org_apache_flex_utils_Timer} */
+        /** @this {org_apache_flex_utils_Timer} */
         get: function() {
             return this.timerInterval !== -1;
         }
     },
     'delay': {
- 		/** @this {org_apache_flex_utils_Timer} */
+        /** @this {org_apache_flex_utils_Timer} */
         get: function() {
             return this._delay;
         },
- 		/** @this {org_apache_flex_utils_Timer} */
+        /** @this {org_apache_flex_utils_Timer} */
         set: function(value) {
             this._delay = value;
         }
     },
     'repeatCount': {
- 		/** @this {org_apache_flex_utils_Timer} */
+        /** @this {org_apache_flex_utils_Timer} */
         get: function() {
             return this._repeatCount;
         },
- 		/** @this {org_apache_flex_utils_Timer} */
+        /** @this {org_apache_flex_utils_Timer} */
         set: function(value) {
             this._repeatCount = value;
         }

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6940d954/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 2cb3ffb..6ffe80d 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/utils/ViewSourceContextMenuOption.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/utils/ViewSourceContextMenuOption.js
@@ -41,6 +41,6 @@ Object.defineProperties(org_apache_flex_utils_ViewSourceContextMenuOption.protot
     'strand': {
         /** @this {org_apache_flex_utils_ViewSourceContextMenuOption} */
         set: function(value) {}
-	}
+    }
 });
 


Mime
View raw message