You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by er...@apache.org on 2013/11/06 10:05:27 UTC

[2/5] git commit: [flex-asjs] [refs/heads/develop] - 'goog' doesn't like 'use strict' when running in debug mode.

'goog' doesn't like 'use strict' when running in debug mode.

Signed-off-by: Erik de Bruin <er...@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/eb1c3896
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/eb1c3896
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/eb1c3896

Branch: refs/heads/develop
Commit: eb1c389605b83ddbe9a088d0c692e79304bd89a2
Parents: 50ee92e
Author: Erik de Bruin <er...@ixsoftware.nl>
Authored: Wed Nov 6 07:21:37 2013 +0100
Committer: Erik de Bruin <er...@ixsoftware.nl>
Committed: Wed Nov 6 07:21:37 2013 +0100

----------------------------------------------------------------------
 .../js/FlexJS/src/org/apache/flex/core/IBead.js      |  6 ------
 .../FlexJS/src/org/apache/flex/core/IBeadLayout.js   |  6 ------
 .../js/FlexJS/src/org/apache/flex/core/IDocument.js  |  6 ------
 .../beads/layouts/NonVirtualVerticalLayout.js        |  6 ------
 .../js/FlexJS/src/org/apache/flex/utils/Language.js  | 15 +++++----------
 5 files changed, 5 insertions(+), 34 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/eb1c3896/frameworks/js/FlexJS/src/org/apache/flex/core/IBead.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/core/IBead.js b/frameworks/js/FlexJS/src/org/apache/flex/core/IBead.js
index 6b9e016..b22265c 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/core/IBead.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/core/IBead.js
@@ -12,12 +12,6 @@
  * limitations under the License.
  */
 
-/*jshint globalstrict: true, indent: 2, maxlen: 80, strict: true,
-    white: false */
-/*global goog, org */
-
-'use strict';
-
 goog.provide('org.apache.flex.core.IBead');
 
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/eb1c3896/frameworks/js/FlexJS/src/org/apache/flex/core/IBeadLayout.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/core/IBeadLayout.js b/frameworks/js/FlexJS/src/org/apache/flex/core/IBeadLayout.js
index 0e27fb5..0386bcd 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/core/IBeadLayout.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/core/IBeadLayout.js
@@ -12,12 +12,6 @@
  * limitations under the License.
  */
 
-/*jshint globalstrict: true, indent: 2, maxlen: 80, strict: true,
-    white: false */
-/*global goog, org */
-
-'use strict';
-
 goog.provide('org.apache.flex.core.IBeadLayout');
 
 goog.require('org.apache.flex.core.IBead');

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/eb1c3896/frameworks/js/FlexJS/src/org/apache/flex/core/IDocument.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/core/IDocument.js b/frameworks/js/FlexJS/src/org/apache/flex/core/IDocument.js
index 9f44ef2..21a1a1c 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/core/IDocument.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/core/IDocument.js
@@ -12,12 +12,6 @@
  * limitations under the License.
  */
 
-/*jshint globalstrict: true, indent: 2, maxlen: 80, strict: true,
-    white: false */
-/*global goog, org */
-
-'use strict';
-
 goog.provide('org.apache.flex.core.IDocument');
 
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/eb1c3896/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 46ea9ac..eadc47e 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
@@ -12,12 +12,6 @@
  * limitations under the License.
  */
 
-/*jshint globalstrict: true, indent: 2, maxlen: 80, strict: true,
-    white: false */
-/*global goog, org */
-
-'use strict';
-
 goog.provide('org.apache.flex.html.staticControls.beads.layouts.NonVirtualVerticalLayout');
 
 goog.require('org.apache.flex.core.IBeadLayout');

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/eb1c3896/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 e9f919f..a785d96 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/utils/Language.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/utils/Language.js
@@ -12,11 +12,6 @@
  * limitations under the License.
  */
 
-/*jshint globalstrict: true, indent: 2, maxlen: 80, strict: true, white: false */
-/*global goog, org */
-
-'use strict';
-
 goog.provide('org.apache.flex.utils.Language');
 
 
@@ -70,21 +65,21 @@ org.apache.flex.utils.Language._int = function(value) {
  */
 org.apache.flex.utils.Language.is = function(leftOperand, rightOperand) {
 	var checkInterfaces;
-	
+
 	checkInterfaces = function (left) {
 		var i, interfaces;
-	
+
 		interfaces = left.AFJS_INTERFACES;
 		for (i = interfaces.length - 1; i > -1; i--) {
 			if (interfaces[i] === rightOperand) {
 				return true;
-			} 
-			
+			}
+
 			if (interfaces[i].prototype.AFJS_INTERFACES) {
 				return checkInterfaces(new interfaces[i]());
 			}
 		}
-	
+
 		return false;
 	}