You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2015/08/25 16:58:19 UTC
[1/2] git commit: [flex-asjs] [refs/heads/develop] - missing require
Repository: flex-asjs
Updated Branches:
refs/heads/develop cb957d388 -> 052af9d3c
missing require
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/9e94963c
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/9e94963c
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/9e94963c
Branch: refs/heads/develop
Commit: 9e94963c19e42a24bcf847fcc909a0c3deee2f2d
Parents: cb957d3
Author: Alex Harui <ah...@apache.org>
Authored: Tue Aug 25 07:57:04 2015 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Tue Aug 25 07:57:04 2015 -0700
----------------------------------------------------------------------
frameworks/projects/Core/js/src/org/apache/flex/utils/Timer.js | 1 +
1 file changed, 1 insertion(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9e94963c/frameworks/projects/Core/js/src/org/apache/flex/utils/Timer.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/utils/Timer.js b/frameworks/projects/Core/js/src/org/apache/flex/utils/Timer.js
index 49240e6..4c3936f 100644
--- a/frameworks/projects/Core/js/src/org/apache/flex/utils/Timer.js
+++ b/frameworks/projects/Core/js/src/org/apache/flex/utils/Timer.js
@@ -14,6 +14,7 @@
goog.provide('org.apache.flex.utils.Timer');
+goog.require('org.apache.flex.events.Event');
goog.require('org.apache.flex.events.EventDispatcher');
[2/2] git commit: [flex-asjs] [refs/heads/develop] - the old pattern
was causing the 'this' pointer to be wrong in JS in the call to getValue. Not
sure why
Posted by ah...@apache.org.
the old pattern was causing the 'this' pointer to be wrong in JS in the call to getValue. Not sure why
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/052af9d3
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/052af9d3
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/052af9d3
Branch: refs/heads/develop
Commit: 052af9d3c90ba075fcfe6d593a8e45440fe81d8c
Parents: 9e94963
Author: Alex Harui <ah...@apache.org>
Authored: Tue Aug 25 07:58:04 2015 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Tue Aug 25 07:58:04 2015 -0700
----------------------------------------------------------------------
.../Mobile/asjs/src/org/apache/flex/mobile/View.as | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/052af9d3/frameworks/projects/Mobile/asjs/src/org/apache/flex/mobile/View.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Mobile/asjs/src/org/apache/flex/mobile/View.as b/frameworks/projects/Mobile/asjs/src/org/apache/flex/mobile/View.as
index 456116f..bb25416 100644
--- a/frameworks/projects/Mobile/asjs/src/org/apache/flex/mobile/View.as
+++ b/frameworks/projects/Mobile/asjs/src/org/apache/flex/mobile/View.as
@@ -61,12 +61,24 @@ package org.apache.flex.mobile
}
private var _controller:IBeadController;
+
+ /**
+ * Get the controller for the view.
+ *
+ * @flexjsignorecoercion Class
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
public function get controller():IBeadController
{
if (_controller == null) {
_controller = getBeadByType(IBeadController) as IBeadController;
if (_controller == null) {
- _controller = new (ValuesManager.valuesImpl.getValue(this, "iBeadController")) as IBeadController;
+ var c:Class = ValuesManager.valuesImpl.getValue(this, "iBeadController") as Class;
+ _controller = new c() as IBeadController;
addBead(_controller);
}
}