flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From carlosrov...@apache.org
Subject git commit: [flex-asjs] [refs/heads/develop] - Reverting commit 8745a94d0d6885db01aad1eb31df73b262612cf1 (fix warnings in LanguageTest, changing 'insteadof' for 'is')
Date Sun, 23 Feb 2014 15:39:14 GMT
Repository: flex-asjs
Updated Branches:
  refs/heads/develop 8ef57d82b -> 3a5a97fe4 (forced update)


Reverting commit 8745a94d0d6885db01aad1eb31df73b262612cf1  (fix warnings in LanguageTest,
changing 'insteadof' for 'is')


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

Branch: refs/heads/develop
Commit: 3a5a97fe4d680c242ae5734a878bbdc4143255c3
Parents: 1309e00
Author: Carlos Rovira <carlosrovira@apache.org>
Authored: Sat Feb 22 15:12:57 2014 +0100
Committer: Carlos Rovira <carlosrovira@apache.org>
Committed: Sun Feb 23 16:38:46 2014 +0100

----------------------------------------------------------------------
 examples/LanguageTests/src/LanguageTests.as | 44 ++++++++++++------------
 1 file changed, 22 insertions(+), 22 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3a5a97fe/examples/LanguageTests/src/LanguageTests.as
----------------------------------------------------------------------
diff --git a/examples/LanguageTests/src/LanguageTests.as b/examples/LanguageTests/src/LanguageTests.as
index bc9aaa8..af93aef 100644
--- a/examples/LanguageTests/src/LanguageTests.as
+++ b/examples/LanguageTests/src/LanguageTests.as
@@ -39,28 +39,28 @@ public class LanguageTests extends Sprite implements IA, IE
 		
 		var b:B = new B();
 		
-		testResult = this is Sprite;
-		trace('this is Sprite - true: ' + testResult.toString());
-		testResult = this is B;
-		trace('this is classes.B - false: ' + testResult.toString());
-		testResult = b is classes.B;
-		trace('b is classes.B - true: ' + testResult.toString());
-		testResult = b is classes.C;
-		trace('b is classes.C - true: ' + testResult.toString());
-		testResult = b is interfaces.IC;
-		trace('b is interfaces.IC - false: ' + testResult.toString());
-		testResult = b is interfaces.IF;
-		trace('b is interfaces.IF - false: ' + testResult.toString());
-		testResult = this is IA;
-		trace('this is interfaces.IA - false: ' + testResult.toString());
-		testResult = this is IB;
-		trace('this is interfaces.IB - false: ' + testResult.toString());
-		testResult = this is IC;
-		trace('this is interfaces.IC - false: ' + testResult.toString());
-		testResult = this is ID;
-		trace('this is interfaces.ID - false: ' + testResult.toString());
-		testResult = this is IE;
-		trace('this is interfaces.IE - false: ' + testResult.toString());
+		testResult = this instanceof Sprite;
+		trace('this instanceof Sprite - true: ' + testResult.toString());
+		testResult = this instanceof B;
+		trace('this instanceof classes.B - false: ' + testResult.toString());
+		testResult = b instanceof classes.B;
+		trace('b instanceof classes.B - true: ' + testResult.toString());
+		testResult = b instanceof classes.C;
+		trace('b instanceof classes.C - true: ' + testResult.toString());
+		testResult = b instanceof interfaces.IC;
+		trace('b instanceof interfaces.IC - false: ' + testResult.toString());
+		testResult = b instanceof interfaces.IF;
+		trace('b instanceof interfaces.IF - false: ' + testResult.toString());
+		testResult = this instanceof IA;
+		trace('this instanceof interfaces.IA - false: ' + testResult.toString());
+		testResult = this instanceof IB;
+		trace('this instanceof interfaces.IB - false: ' + testResult.toString());
+		testResult = this instanceof IC;
+		trace('this instanceof interfaces.IC - false: ' + testResult.toString());
+		testResult = this instanceof ID;
+		trace('this instanceof interfaces.ID - false: ' + testResult.toString());
+		testResult = this instanceof IE;
+		trace('this instanceof interfaces.IE - false: ' + testResult.toString());
 		trace();
 		testResult = this is Sprite;
 		trace('this is Sprite - true: ' + testResult.toString());


Mime
View raw message