You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ca...@apache.org on 2013/05/03 01:55:32 UTC

[03/13] git commit: [flex-asjs] [refs/heads/feature/createjs-checkbox] - add missing event metadata, otherwise compiler will use flash.events.Event

add missing event metadata, otherwise compiler will use flash.events.Event


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

Branch: refs/heads/feature/createjs-checkbox
Commit: b75fc5d7732ba33e96e3430c881a07be4a168dc7
Parents: 138cf91
Author: Alex Harui <ah...@apache.org>
Authored: Wed May 1 11:16:35 2013 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Wed May 1 11:18:25 2013 -0700

----------------------------------------------------------------------
 .../apache/flex/html/staticControls/CheckBox.as    |    2 ++
 .../apache/flex/html/staticControls/RadioButton.as |    2 ++
 2 files changed, 4 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b75fc5d7/frameworks/as/src/org/apache/flex/html/staticControls/CheckBox.as
----------------------------------------------------------------------
diff --git a/frameworks/as/src/org/apache/flex/html/staticControls/CheckBox.as b/frameworks/as/src/org/apache/flex/html/staticControls/CheckBox.as
index ad8ee7c..d61015a 100644
--- a/frameworks/as/src/org/apache/flex/html/staticControls/CheckBox.as
+++ b/frameworks/as/src/org/apache/flex/html/staticControls/CheckBox.as
@@ -32,6 +32,8 @@ package org.apache.flex.html.staticControls
 	import org.apache.flex.core.ValuesManager;
 	import org.apache.flex.events.Event;
 	
+	[Event(name="change", type="org.apache.flex.events.Event")]
+
 	public class CheckBox extends SimpleButton implements IStrand, IInitSkin, IInitModel
 	{
 		public function CheckBox(upState:DisplayObject=null, overState:DisplayObject=null, downState:DisplayObject=null, hitTestState:DisplayObject=null)

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b75fc5d7/frameworks/as/src/org/apache/flex/html/staticControls/RadioButton.as
----------------------------------------------------------------------
diff --git a/frameworks/as/src/org/apache/flex/html/staticControls/RadioButton.as b/frameworks/as/src/org/apache/flex/html/staticControls/RadioButton.as
index 8df7478..0aee02b 100644
--- a/frameworks/as/src/org/apache/flex/html/staticControls/RadioButton.as
+++ b/frameworks/as/src/org/apache/flex/html/staticControls/RadioButton.as
@@ -33,6 +33,8 @@ package org.apache.flex.html.staticControls
 	import org.apache.flex.core.ValuesManager;
 	import org.apache.flex.events.Event;
 	
+	[Event(name="change", type="org.apache.flex.events.Event")]
+
 	public class RadioButton extends SimpleButton implements IStrand, IInitSkin, IInitModel
 	{
 		public function RadioButton(upState:DisplayObject=null, overState:DisplayObject=null, downState:DisplayObject=null, hitTestState:DisplayObject=null)