Repository: flex-asjs Updated Branches: refs/heads/develop 051fc0560 -> 39d4236ba
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/8745a94d Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/8745a94d Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/8745a94d Branch: refs/heads/develop Commit: 8745a94d0d6885db01aad1eb31df73b262612cf1 Parents: 051fc05 Author: Carlos Rovira <carlosrov...@apache.org> Authored: Sat Feb 22 00:46:50 2014 +0100 Committer: Carlos Rovira <carlosrov...@apache.org> Committed: Sat Feb 22 00:46:50 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/8745a94d/examples/LanguageTests/src/LanguageTests.as ---------------------------------------------------------------------- diff --git a/examples/LanguageTests/src/LanguageTests.as b/examples/LanguageTests/src/LanguageTests.as index af93aef..bc9aaa8 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 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()); + 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()); trace(); testResult = this is Sprite; trace('this is Sprite - true: ' + testResult.toString());