You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by er...@apache.org on 2014/10/24 13:30:04 UTC

[12/22] git commit: [flex-falcon] [refs/heads/develop] - Changed name to avoid conflict with the other SimpleMXML test and added 'result' JS files.

Changed name to avoid conflict with the other SimpleMXML test and added 'result' JS files.

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/04527431
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/04527431
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/04527431

Branch: refs/heads/develop
Commit: 04527431c930a23690993816dcf30c30f023c565
Parents: fcdc392
Author: Erik de Bruin <er...@ixsoftware.nl>
Authored: Thu Oct 23 16:51:17 2014 +0200
Committer: Erik de Bruin <er...@ixsoftware.nl>
Committed: Thu Oct 23 19:42:52 2014 +0200

----------------------------------------------------------------------
 .../projects/simpleMXML/src/SimpleMXML.mxml     | 19 ------
 .../simpleMXML/src/SimpleMXML_Project.mxml      | 19 ++++++
 .../simpleMXML/src/SimpleMXML_Project_result.js | 65 ++++++++++++++++++++
 .../simpleMXML/src/example/Component_result.js  | 45 ++++++++++++++
 4 files changed, 129 insertions(+), 19 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/04527431/compiler.jx.tests/test-files/vf2js/projects/simpleMXML/src/SimpleMXML.mxml
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/test-files/vf2js/projects/simpleMXML/src/SimpleMXML.mxml b/compiler.jx.tests/test-files/vf2js/projects/simpleMXML/src/SimpleMXML.mxml
deleted file mode 100644
index 389be97..0000000
--- a/compiler.jx.tests/test-files/vf2js/projects/simpleMXML/src/SimpleMXML.mxml
+++ /dev/null
@@ -1,19 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" 
-			   xmlns:s="library://ns.adobe.com/flex/spark" 
-			   xmlns:mx="library://ns.adobe.com/flex/mx" 
-			   xmlns:example="example.*"
-			   minHeight="600"
-			   minWidth="955">
-	
-	<fx:Script><![CDATA[
-		
-		private var myComponent:Component = new Component();
-		
-	]]></fx:Script>
-	
-	<fx:Declarations>
-		<example:Component myProperty="oops" />
-	</fx:Declarations>
-	
-</s:Application>

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/04527431/compiler.jx.tests/test-files/vf2js/projects/simpleMXML/src/SimpleMXML_Project.mxml
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/test-files/vf2js/projects/simpleMXML/src/SimpleMXML_Project.mxml b/compiler.jx.tests/test-files/vf2js/projects/simpleMXML/src/SimpleMXML_Project.mxml
new file mode 100644
index 0000000..389be97
--- /dev/null
+++ b/compiler.jx.tests/test-files/vf2js/projects/simpleMXML/src/SimpleMXML_Project.mxml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" 
+			   xmlns:s="library://ns.adobe.com/flex/spark" 
+			   xmlns:mx="library://ns.adobe.com/flex/mx" 
+			   xmlns:example="example.*"
+			   minHeight="600"
+			   minWidth="955">
+	
+	<fx:Script><![CDATA[
+		
+		private var myComponent:Component = new Component();
+		
+	]]></fx:Script>
+	
+	<fx:Declarations>
+		<example:Component myProperty="oops" />
+	</fx:Declarations>
+	
+</s:Application>

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/04527431/compiler.jx.tests/test-files/vf2js/projects/simpleMXML/src/SimpleMXML_Project_result.js
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/test-files/vf2js/projects/simpleMXML/src/SimpleMXML_Project_result.js b/compiler.jx.tests/test-files/vf2js/projects/simpleMXML/src/SimpleMXML_Project_result.js
new file mode 100644
index 0000000..aaad9b6
--- /dev/null
+++ b/compiler.jx.tests/test-files/vf2js/projects/simpleMXML/src/SimpleMXML_Project_result.js
@@ -0,0 +1,65 @@
+/**
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/**
+ * SimpleMXML_Project
+ *
+ * @fileoverview
+ *
+ * @suppress {checkTypes}
+ */
+
+goog.provide('SimpleMXML_Project');
+
+goog.require('spark.components.Application');
+goog.require('example.Component');
+goog.require('org.apache.flex.utils.Language');
+
+
+
+
+/**
+ * @constructor
+ * @extends {spark.components.Application}
+ */
+SimpleMXML_Project = function() {
+  SimpleMXML_Project.base(this, 'constructor');
+  };
+goog.inherits(SimpleMXML_Project, spark.components.Application);
+
+
+/**
+ * Metadata
+ *
+ * @type {Object.<string, Array.<Object>>}
+ */
+SimpleMXML_Project.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'SimpleMXML_Project', qName: 'SimpleMXML_Project' }] };
+
+
+/**
+ * @private
+ * @type {example.Component}
+ */
+SimpleMXML_Project.prototype.myComponent = new example.Component();
+
+
+/**
+ * start
+ *
+ * @expose
+ */
+SimpleMXML_Project.prototype.start = function () {
+this.null.minHeight = 600;
+this.null.minWidth = 955;
+
+};
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/04527431/compiler.jx.tests/test-files/vf2js/projects/simpleMXML/src/example/Component_result.js
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/test-files/vf2js/projects/simpleMXML/src/example/Component_result.js b/compiler.jx.tests/test-files/vf2js/projects/simpleMXML/src/example/Component_result.js
new file mode 100644
index 0000000..23f3aa4
--- /dev/null
+++ b/compiler.jx.tests/test-files/vf2js/projects/simpleMXML/src/example/Component_result.js
@@ -0,0 +1,45 @@
+/**
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/**
+ * example.Component
+ *
+ * @fileoverview
+ *
+ * @suppress {checkTypes}
+ */
+
+goog.provide('example.Component');
+
+
+
+/**
+ * @constructor
+ */
+example.Component = function() {
+  ;
+};
+
+
+/**
+ * @type {Object}
+ */
+example.Component.prototype.myProperty = {};
+
+
+/**
+ * Metadata
+ *
+ * @type {Object.<string, Array.<Object>>}
+ */
+example.Component.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'Component', qName: 'example.Component'}] };
\ No newline at end of file