Return-Path: X-Original-To: apmail-flex-commits-archive@www.apache.org Delivered-To: apmail-flex-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 42A59100BB for ; Sun, 23 Feb 2014 15:39:17 +0000 (UTC) Received: (qmail 72083 invoked by uid 500); 23 Feb 2014 15:39:16 -0000 Delivered-To: apmail-flex-commits-archive@flex.apache.org Received: (qmail 72065 invoked by uid 500); 23 Feb 2014 15:39:16 -0000 Mailing-List: contact commits-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list commits@flex.apache.org Received: (qmail 72059 invoked by uid 99); 23 Feb 2014 15:39:14 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 23 Feb 2014 15:39:14 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 5348B884E6C; Sun, 23 Feb 2014 15:39:14 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: carlosrovira@apache.org To: commits@flex.apache.org Message-Id: <5fbf22ac798d439db0e80b5ad306b112@git.apache.org> X-Mailer: ASF-Git Admin Mailer 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 +0000 (UTC) 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 Authored: Sat Feb 22 15:12:57 2014 +0100 Committer: Carlos Rovira 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());