You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by cd...@apache.org on 2014/10/31 09:28:37 UTC
[15/23] git commit: [flex-falcon]
[refs/heads/feature/flexmojos-tests] - VF2JS will no longer use the 'vf2js'
namespaces.
VF2JS will no longer use the 'vf2js' namespaces.
I went a different way with VF2JS. The custom 'helper' namespaces are no longer needed.
Signed-off-by: Erik de Bruin <er...@ixsoftware.nl>
Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/db8e7f0a
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/db8e7f0a
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/db8e7f0a
Branch: refs/heads/feature/flexmojos-tests
Commit: db8e7f0a25cd5b575501348f25b86b4a1696d7ed
Parents: 1dca700
Author: Erik de Bruin <er...@ixsoftware.nl>
Authored: Thu Oct 23 16:54:48 2014 +0200
Committer: Erik de Bruin <er...@ixsoftware.nl>
Committed: Thu Oct 23 19:42:52 2014 +0200
----------------------------------------------------------------------
.../test-files/vf2js/files/SimpleMXML_result.js | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/db8e7f0a/compiler.jx.tests/test-files/vf2js/files/SimpleMXML_result.js
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/test-files/vf2js/files/SimpleMXML_result.js b/compiler.jx.tests/test-files/vf2js/files/SimpleMXML_result.js
index 1a20d8a..a092dd7 100644
--- a/compiler.jx.tests/test-files/vf2js/files/SimpleMXML_result.js
+++ b/compiler.jx.tests/test-files/vf2js/files/SimpleMXML_result.js
@@ -21,32 +21,32 @@
goog.provide('SimpleMXML');
-goog.require('vf2js_s.components.Application');
-goog.require('vf2js_s.components.Button');
+goog.require('spark.components.Application');
+goog.require('spark.components.Button');
/**
* @constructor
- * @extends {vf2js_s.components.Application}
+ * @extends {spark.components.Application}
*/
SimpleMXML = function() {
SimpleMXML.base(this, 'constructor');
/**
* @private
- * @type {vf2js_s.components.Button}
+ * @type {spark.components.Button}
*/
this.$ID0;
/**
* @private
- * @type {vf2js_s.components.Button}
+ * @type {spark.components.Button}
*/
this.$ID1;
};
-goog.inherits(SimpleMXML, vf2js_s.components.Application);
+goog.inherits(SimpleMXML, spark.components.Application);
/**
@@ -63,14 +63,15 @@ SimpleMXML.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'SimpleMXML', qName:
* @expose
*/
SimpleMXML.prototype.start = function () {
-this.$ID0 = new vf2js_s.components.Button();
+this.$ID0 = new spark.components.Button();
this.$ID0.label = 'hello';
this.$ID0.x = 100;
this.$ID0.render();
-this.$ID1 = new vf2js_s.components.Button();
+this.$ID1 = new spark.components.Button();
this.$ID1.label = 'bye';
this.$ID1.x = 200;
this.$ID1.render();
+
};