Repository: flex-asjs
Updated Branches:
  refs/heads/develop ee906882b -> 7eaf5b41b


Fixed jslint and jshint issues.


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

Branch: refs/heads/develop
Commit: 7eaf5b41b690a585688be5d81960946428615ce2
Parents: ee90688
Author: Peter Ent <[email protected]>
Authored: Thu Oct 16 12:24:02 2014 -0400
Committer: Peter Ent <[email protected]>
Committed: Thu Oct 16 12:24:02 2014 -0400

----------------------------------------------------------------------
 .../src/org/apache/flex/core/graphics/Circle.js | 13 ++++++++-----
 .../org/apache/flex/core/graphics/Ellipse.js    |  3 ++-
 .../apache/flex/core/graphics/GraphicShape.js   | 10 +++++++---
 .../src/org/apache/flex/core/graphics/Path.js   | 20 +++++++++++---------
 .../src/org/apache/flex/core/graphics/Rect.js   |  3 ++-
 5 files changed, 30 insertions(+), 19 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/7eaf5b41/frameworks/js/FlexJS/src/org/apache/flex/core/graphics/Circle.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/core/graphics/Circle.js 
b/frameworks/js/FlexJS/src/org/apache/flex/core/graphics/Circle.js
index 1d56a8c..d63fc9f 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/core/graphics/Circle.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/core/graphics/Circle.js
@@ -44,9 +44,10 @@ 
org.apache.flex.core.graphics.Circle.prototype.FLEXJS_CLASS_INFO =
     { names: [{ name: 'Circle',
                 qName: 'org.apache.flex.core.graphics.Circle' }] };
 
+
 /**
  * @expose
- * @param {number} v The radius of the circle
+ * @param {number} v The radius of the circle.
  */
 org.apache.flex.core.graphics.Circle.prototype.set_radius = function(v) {
   this.radius_ = v;
@@ -55,11 +56,12 @@ org.apache.flex.core.graphics.Circle.prototype.set_radius = 
function(v) {
 
 /**
  * @expose
- * @return {number} The radius of the circle
+ * @return {number} The radius of the circle.
  */
 org.apache.flex.core.graphics.Circle.prototype.get_radius = function() {
   return this.radius_;
-};                             
+};
+
 
 /**
  * @expose
@@ -89,9 +91,10 @@ org.apache.flex.core.graphics.Circle.prototype.drawCircle = 
function(x, y, radiu
     this.element.appendChild(circle);
   };
 
+
 /**
  * @override
-*/
-  org.apache.flex.core.graphics.Circle.prototype.draw = function() {
+ */
+org.apache.flex.core.graphics.Circle.prototype.draw = function() {
     this.drawCircle(this.get_x(), this.get_y(), this.get_radius());
   };
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/7eaf5b41/frameworks/js/FlexJS/src/org/apache/flex/core/graphics/Ellipse.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/core/graphics/Ellipse.js 
b/frameworks/js/FlexJS/src/org/apache/flex/core/graphics/Ellipse.js
index c2d45cd..d249a15 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/core/graphics/Ellipse.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/core/graphics/Ellipse.js
@@ -68,9 +68,10 @@ org.apache.flex.core.graphics.Ellipse.prototype.drawEllipse 
= function(x, y, wid
     this.element.appendChild(ellipse);
   };
 
+
 /**
  * @override
 */
-  org.apache.flex.core.graphics.Ellipse.prototype.draw = function() {
+org.apache.flex.core.graphics.Ellipse.prototype.draw = function() {
     this.drawEllipse(this.get_x(), this.get_y(), this.get_width(), 
this.get_height());
   };
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/7eaf5b41/frameworks/js/FlexJS/src/org/apache/flex/core/graphics/GraphicShape.js
----------------------------------------------------------------------
diff --git 
a/frameworks/js/FlexJS/src/org/apache/flex/core/graphics/GraphicShape.js 
b/frameworks/js/FlexJS/src/org/apache/flex/core/graphics/GraphicShape.js
index a869062..d4bf185 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/core/graphics/GraphicShape.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/core/graphics/GraphicShape.js
@@ -17,14 +17,16 @@ goog.require('org.apache.flex.core.UIBase');
 goog.require('org.apache.flex.core.graphics.SolidColor');
 goog.require('org.apache.flex.core.graphics.SolidColorStroke');
 
+
+
 /**
  * @constructor
  * @extends {org.apache.flex.core.UIBase}
  */
 org.apache.flex.core.graphics.GraphicShape = function() {
-  
+
   org.apache.flex.core.graphics.GraphicShape.base(this, 'constructor');
-  
+
   /**
    * @private
    * @type {org.apache.flex.core.graphics.IFill}
@@ -125,13 +127,15 @@ 
org.apache.flex.core.graphics.GraphicShape.prototype.addedToParent = function()
   this.resize(this.x_, this.y_, bbox);
 };
 
+
 /**
- * This is where the drawing methods get called from 
+ * This is where the drawing methods get called from.
  */
 org.apache.flex.core.graphics.GraphicShape.prototype.draw = function() {
   //Overwrite in subclass
 };
 
+
 /**
  * @expose
  * @return {string} The style attribute.

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/7eaf5b41/frameworks/js/FlexJS/src/org/apache/flex/core/graphics/Path.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/core/graphics/Path.js 
b/frameworks/js/FlexJS/src/org/apache/flex/core/graphics/Path.js
index 776370d..dfaf1cc 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/core/graphics/Path.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/core/graphics/Path.js
@@ -29,7 +29,7 @@ org.apache.flex.core.graphics.Path = function() {
    * @private
    * @type {string}
    */
-  this.data_ = "";
+  this.data_ = '';
 };
 goog.inherits(org.apache.flex.core.graphics.Path,
     org.apache.flex.core.graphics.GraphicShape);
@@ -44,10 +44,10 @@ 
org.apache.flex.core.graphics.Path.prototype.FLEXJS_CLASS_INFO =
     { names: [{ name: 'Path',
                 qName: 'org.apache.flex.core.graphics.Path' }] };
 
-                               
+
 /**
  * @expose
- * @param {string} v The string representation of the path data
+ * @param {string} v The string representation of the path data.
  */
 org.apache.flex.core.graphics.Path.prototype.set_data = function(v) {
   this.data_ = v;
@@ -56,11 +56,12 @@ org.apache.flex.core.graphics.Path.prototype.set_data = 
function(v) {
 
 /**
  * @expose
- * @return {string} The string representation of the path data
+ * @return {string} The string representation of the path data.
  */
 org.apache.flex.core.graphics.Path.prototype.get_data = function() {
   return this.data_;
-};                                             
+};
+
 
 /**
  * @expose
@@ -90,9 +91,10 @@ org.apache.flex.core.graphics.Path.prototype.drawPath = 
function(x, y, data) {
     }
   };
 
+
  /**
- * @override
-*/
-  org.apache.flex.core.graphics.Path.prototype.draw = function() {
+  * @override
+  */
+org.apache.flex.core.graphics.Path.prototype.draw = function() {
     this.drawPath(this.get_x(), this.get_y(), this.get_data());
-  }; 
\ No newline at end of file
+  };

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/7eaf5b41/frameworks/js/FlexJS/src/org/apache/flex/core/graphics/Rect.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/core/graphics/Rect.js 
b/frameworks/js/FlexJS/src/org/apache/flex/core/graphics/Rect.js
index 7ab8078..c1bce41 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/core/graphics/Rect.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/core/graphics/Rect.js
@@ -68,9 +68,10 @@ org.apache.flex.core.graphics.Rect.prototype.drawRect = 
function(x, y, width, he
     this.element.appendChild(rect);
   };
 
+
 /**
  * @override
 */
-  org.apache.flex.core.graphics.Rect.prototype.draw = function() {
+org.apache.flex.core.graphics.Rect.prototype.draw = function() {
     this.drawRect(this.get_x(), this.get_y(), this.get_width(), 
this.get_height());
   };
\ No newline at end of file

Reply via email to