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/07/02 16:17:54 UTC
[09/18] git commit: [flex-sdk] [refs/heads/VF2JS] - Bare bones Button
and Application shims.
Bare bones Button and Application shims.
Signed-off-by: Erik de Bruin <er...@ixsoftware.nl>
Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/5dcda792
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/5dcda792
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/5dcda792
Branch: refs/heads/VF2JS
Commit: 5dcda7924e977f542745a8d3cf00a0171bd13f27
Parents: 328693d
Author: Erik de Bruin <er...@ixsoftware.nl>
Authored: Mon Jun 30 13:33:45 2014 +0200
Committer: Erik de Bruin <er...@ixsoftware.nl>
Committed: Mon Jun 30 13:33:45 2014 +0200
----------------------------------------------------------------------
.../vf2js/src/vf2js/components/Application.as | 9 +++------
.../vf2js/src/vf2js/components/Button.as | 20 +++++++-------------
2 files changed, 10 insertions(+), 19 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/5dcda792/frameworks/projects/vf2js/src/vf2js/components/Application.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js/src/vf2js/components/Application.as b/frameworks/projects/vf2js/src/vf2js/components/Application.as
index 1ee87d3..4e6ce89 100644
--- a/frameworks/projects/vf2js/src/vf2js/components/Application.as
+++ b/frameworks/projects/vf2js/src/vf2js/components/Application.as
@@ -20,9 +20,7 @@
package vf2js.components
{
-import spark.components.Application;
-
-public class Application extends spark.components.Application
+public class Application
{
//--------------------------------------------------------------------------
//
@@ -30,9 +28,8 @@ public class Application extends spark.components.Application
//
//--------------------------------------------------------------------------
- public function Application() {
- super();
- }
+ public function Application() {}
+
}
}
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/5dcda792/frameworks/projects/vf2js/src/vf2js/components/Button.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/vf2js/src/vf2js/components/Button.as b/frameworks/projects/vf2js/src/vf2js/components/Button.as
index 87f15db..6c6cae7 100644
--- a/frameworks/projects/vf2js/src/vf2js/components/Button.as
+++ b/frameworks/projects/vf2js/src/vf2js/components/Button.as
@@ -19,21 +19,15 @@
package vf2js.components
{
+
+public class Button
+{
-import spark.components.Button;
+ public function Button() {}
+
+ public var label:String;
-public class Button extends spark.components.Button
-{
- //--------------------------------------------------------------------------
- //
- // Constructor
- //
- //--------------------------------------------------------------------------
+ public var x:Number;
- public function Button()
- {
- super();
- }
}
-
}