flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ha...@apache.org
Subject [46/49] git commit: [flex-asjs] [refs/heads/develop] - Fixed QName toString()
Date Sun, 10 Apr 2016 22:48:57 GMT
Fixed QName toString()


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

Branch: refs/heads/develop
Commit: 62e69f50dde645d2ed614d7989916ca212bc471c
Parents: 40d5bf3
Author: Harbs <harbs@in-tools.com>
Authored: Sun Apr 10 17:56:34 2016 +0300
Committer: Harbs <harbs@in-tools.com>
Committed: Sun Apr 10 17:56:34 2016 +0300

----------------------------------------------------------------------
 frameworks/projects/XML/src/main/flex/QName.as | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/62e69f50/frameworks/projects/XML/src/main/flex/QName.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/XML/src/main/flex/QName.as b/frameworks/projects/XML/src/main/flex/QName.as
index c6886aa..70298f9 100644
--- a/frameworks/projects/XML/src/main/flex/QName.as
+++ b/frameworks/projects/XML/src/main/flex/QName.as
@@ -100,7 +100,8 @@ package
 		COMPILE::JS
 		public function toString():String
 		{
-			return _localName;
+			var uriVal:String = _uri ? _uri : "*";
+			return uriVal + "::" + _localName;
 		}
 
 		COMPILE::JS


Mime
View raw message