Repository: flex-asjs
Updated Branches:
  refs/heads/develop 5cfc1dccb -> 4ba5cb8ec


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/49f207c4/frameworks/js/FlexJS/src/org/apache/flex/utils/Timer.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/utils/Timer.js 
b/frameworks/js/FlexJS/src/org/apache/flex/utils/Timer.js
index ae10939..57815c1 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/utils/Timer.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/utils/Timer.js
@@ -12,20 +12,20 @@
  * limitations under the License.
  */
 
-goog.provide('org.apache.flex.utils.Timer');
+goog.provide('org_apache_flex_utils_Timer');
 
-goog.require('org.apache.flex.events.EventDispatcher');
+goog.require('org_apache_flex_events_EventDispatcher');
 
 
 
 /**
  * @constructor
- * @extends {org.apache.flex.events.EventDispatcher}
+ * @extends {org_apache_flex_events_EventDispatcher}
  * @param {number} delay The delay.
  * @param {number=} opt_repeatCount The repeatCount.
  */
-org.apache.flex.utils.Timer = function(delay, opt_repeatCount) {
-  org.apache.flex.utils.Timer.base(this, 'constructor');
+org_apache_flex_utils_Timer = function(delay, opt_repeatCount) {
+  org_apache_flex_utils_Timer.base(this, 'constructor');
 
   if (opt_repeatCount !== undefined) {
     this._repeatCount = opt_repeatCount;
@@ -49,8 +49,8 @@ org.apache.flex.utils.Timer = function(delay, 
opt_repeatCount) {
    */
   this._currentCount = 0;
 };
-goog.inherits(org.apache.flex.utils.Timer,
-    org.apache.flex.events.EventDispatcher);
+goog.inherits(org_apache_flex_utils_Timer,
+    org_apache_flex_events_EventDispatcher);
 
 
 /**
@@ -58,16 +58,16 @@ goog.inherits(org.apache.flex.utils.Timer,
  *
  * @type {Object.<string, Array.<Object>>}
  */
-org.apache.flex.utils.Timer.prototype.FLEXJS_CLASS_INFO =
+org_apache_flex_utils_Timer.prototype.FLEXJS_CLASS_INFO =
     { names: [{ name: 'Timer',
-                qName: 'org.apache.flex.utils.Timer'}] };
+                qName: 'org_apache_flex_utils_Timer'}] };
 
 
 /**
  * @expose
  * Stops the timer and sets currentCount = 0.
  */
-org.apache.flex.utils.Timer.prototype.reset = function() {
+org_apache_flex_utils_Timer.prototype.reset = function() {
   this.stop();
   this._currentCount = 0;
 };
@@ -77,7 +77,7 @@ org.apache.flex.utils.Timer.prototype.reset = function() {
  * @expose
  * Stops the timer.
  */
-org.apache.flex.utils.Timer.prototype.stop = function() {
+org_apache_flex_utils_Timer.prototype.stop = function() {
   clearInterval(this.timerInterval);
   this.timerInterval = -1;
 };
@@ -87,7 +87,7 @@ org.apache.flex.utils.Timer.prototype.stop = function() {
  * @expose
  * Starts the timer.
  */
-org.apache.flex.utils.Timer.prototype.start = function() {
+org_apache_flex_utils_Timer.prototype.start = function() {
   this.timerInterval =
       setInterval(goog.bind(this.timerHandler, this), this._delay);
 };
@@ -96,14 +96,14 @@ org.apache.flex.utils.Timer.prototype.start = function() {
 /**
  * @protected
  */
-org.apache.flex.utils.Timer.prototype.timerHandler =
+org_apache_flex_utils_Timer.prototype.timerHandler =
     function() {
   this._currentCount++;
   if (this._repeatCount > 0 && this._currentCount >= this._repeatCount) {
     this.stop();
   }
 
-  this.dispatchEvent(new org.apache.flex.events.Event('timer'));
+  this.dispatchEvent(new org_apache_flex_events_Event('timer'));
 
 };
 
@@ -112,7 +112,7 @@ org.apache.flex.utils.Timer.prototype.timerHandler =
  * @expose
  * @return {number} The currentCount.
  */
-org.apache.flex.utils.Timer.prototype.get_currentCount = function() {
+org_apache_flex_utils_Timer.prototype.get_currentCount = function() {
   return this._currentCount;
 };
 
@@ -121,7 +121,7 @@ org.apache.flex.utils.Timer.prototype.get_currentCount = 
function() {
  * @expose
  * @return {boolean} True if the timer is running.
  */
-org.apache.flex.utils.Timer.prototype.get_running = function() {
+org_apache_flex_utils_Timer.prototype.get_running = function() {
   return this.timerInterval !== -1;
 };
 
@@ -130,7 +130,7 @@ org.apache.flex.utils.Timer.prototype.get_running = 
function() {
  * @expose
  * @return {number} The number of milliseconds between events.
  */
-org.apache.flex.utils.Timer.prototype.get_delay = function() {
+org_apache_flex_utils_Timer.prototype.get_delay = function() {
   return this._delay;
 };
 
@@ -139,7 +139,7 @@ org.apache.flex.utils.Timer.prototype.get_delay = 
function() {
  * @expose
  * @param {number} value The number of milliseconds between events.
  */
-org.apache.flex.utils.Timer.prototype.set_delay = function(value) {
+org_apache_flex_utils_Timer.prototype.set_delay = function(value) {
   this._delay = value;
 };
 
@@ -148,7 +148,7 @@ org.apache.flex.utils.Timer.prototype.set_delay = 
function(value) {
  * @expose
  * @return {number} The repeat count.
  */
-org.apache.flex.utils.Timer.prototype.get_repeatCount = function() {
+org_apache_flex_utils_Timer.prototype.get_repeatCount = function() {
   return this._repeatCount;
 };
 
@@ -157,6 +157,6 @@ org.apache.flex.utils.Timer.prototype.get_repeatCount = 
function() {
  * @expose
  * @param {number} value The repeat count.
  */
-org.apache.flex.utils.Timer.prototype.set_repeatCount = function(value) {
+org_apache_flex_utils_Timer.prototype.set_repeatCount = function(value) {
   this._repeatCount = value;
 };

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/49f207c4/frameworks/js/FlexJS/src/org/apache/flex/utils/UIUtils.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/utils/UIUtils.js 
b/frameworks/js/FlexJS/src/org/apache/flex/utils/UIUtils.js
index 9e2e9fc..3c503ef 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/utils/UIUtils.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/utils/UIUtils.js
@@ -12,17 +12,17 @@
  * limitations under the License.
  */
 
-goog.provide('org.apache.flex.utils.UIUtils');
+goog.provide('org_apache_flex_utils_UIUtils');
 
-goog.require('org.apache.flex.core.IPopUpHost');
-goog.require('org.apache.flex.utils.Language');
+goog.require('org_apache_flex_core_IPopUpHost');
+goog.require('org_apache_flex_utils_Language');
 
 
 
 /**
  * @constructor
  */
-org.apache.flex.utils.UIUtils = function() {
+org_apache_flex_utils_UIUtils = function() {
 };
 
 
@@ -31,9 +31,9 @@ org.apache.flex.utils.UIUtils = function() {
  *
  * @type {Object.<string, Array.<Object>>}
  */
-org.apache.flex.utils.UIUtils.prototype.FLEXJS_CLASS_INFO =
+org_apache_flex_utils_UIUtils.prototype.FLEXJS_CLASS_INFO =
     { names: [{ name: 'UIUtils',
-                qName: 'org.apache.flex.utils.UIUtils' }] };
+                qName: 'org_apache_flex_utils_UIUtils' }] };
 
 
 /**
@@ -41,7 +41,7 @@ org.apache.flex.utils.UIUtils.prototype.FLEXJS_CLASS_INFO =
  * @param {Object} item The item to be centered.
  * @param {Object} relativeTo The object used as reference.
  */
-org.apache.flex.utils.UIUtils.center =
+org_apache_flex_utils_UIUtils.center =
     function(item, relativeTo) {
 
   var rw = relativeTo.get_width();
@@ -61,10 +61,10 @@ org.apache.flex.utils.UIUtils.center =
  * @param {Object} start A component to start the search.
  * @return {Object} A component that implements IPopUpHost.
  */
-org.apache.flex.utils.UIUtils.findPopUpHost =
+org_apache_flex_utils_UIUtils.findPopUpHost =
     function(start) {
 
-  while (start != null && !org.apache.flex.utils.Language.is(start, 
org.apache.flex.core.IPopUpHost)) {
+  while (start != null && !org_apache_flex_utils_Language.is(start, 
org_apache_flex_core_IPopUpHost)) {
     start = start.get_parent();
   }
 
@@ -76,7 +76,7 @@ org.apache.flex.utils.UIUtils.findPopUpHost =
  * @expose
  * @param {Object} popUp An IPopUpHost component looking to be removed.
  */
-org.apache.flex.utils.UIUtils.removePopUp =
+org_apache_flex_utils_UIUtils.removePopUp =
     function(popUp) {
 
   var p = popUp.get_parent();

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/49f207c4/frameworks/js/FlexJS/src/org/apache/flex/utils/ViewSourceContextMenuOption.js
----------------------------------------------------------------------
diff --git 
a/frameworks/js/FlexJS/src/org/apache/flex/utils/ViewSourceContextMenuOption.js 
b/frameworks/js/FlexJS/src/org/apache/flex/utils/ViewSourceContextMenuOption.js
index 5120c99..e7cc836 100644
--- 
a/frameworks/js/FlexJS/src/org/apache/flex/utils/ViewSourceContextMenuOption.js
+++ 
b/frameworks/js/FlexJS/src/org/apache/flex/utils/ViewSourceContextMenuOption.js
@@ -12,15 +12,15 @@
  * limitations under the License.
  */
 
-goog.provide('org.apache.flex.utils.ViewSourceContextMenuOption');
+goog.provide('org_apache_flex_utils_ViewSourceContextMenuOption');
 
 
 
 /**
  * @constructor
- * @extends {org.apache.flex.events.EventDispatcher}
+ * @extends {org_apache_flex_events_EventDispatcher}
  */
-org.apache.flex.utils.ViewSourceContextMenuOption = function() {
+org_apache_flex_utils_ViewSourceContextMenuOption = function() {
   // no implementation in JS since ViewSource is already in menu
 };
 
@@ -30,15 +30,15 @@ org.apache.flex.utils.ViewSourceContextMenuOption = 
function() {
  *
  * @type {Object.<string, Array.<Object>>}
  */
-org.apache.flex.utils.ViewSourceContextMenuOption.prototype.FLEXJS_CLASS_INFO =
+org_apache_flex_utils_ViewSourceContextMenuOption.prototype.FLEXJS_CLASS_INFO =
     { names: [{ name: 'ViewSourceContextMenuOption',
-                qName: 'org.apache.flex.utils.ViewSourceContextMenuOption'}] };
+                qName: 'org_apache_flex_utils_ViewSourceContextMenuOption'}] };
 
 
 /**
  * @param {Object} value The strand (owner) of the bead.
  */
-org.apache.flex.utils.ViewSourceContextMenuOption.prototype.set_strand =
+org_apache_flex_utils_ViewSourceContextMenuOption.prototype.set_strand =
     function(value) {
 };
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/49f207c4/frameworks/js/FlexJS/tests/MySimpleValuesImpl.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/tests/MySimpleValuesImpl.js 
b/frameworks/js/FlexJS/tests/MySimpleValuesImpl.js
index 8f09bd7..dfde492 100644
--- a/frameworks/js/FlexJS/tests/MySimpleValuesImpl.js
+++ b/frameworks/js/FlexJS/tests/MySimpleValuesImpl.js
@@ -30,11 +30,11 @@ MySimpleValuesImpl = function() {
     this.values_ = {
         /*
         ITextButtonBead :
-            org.apache.flex.html.beads.TextButtonBead,
+            org_apache_flex_html_beads_TextButtonBead,
         ITextBead :
-            org.apache.flex.html.beads.TextFieldBead,
+            org_apache_flex_html_beads_TextFieldBead,
         ITextModel :
-            org.apache.flex.html.beads.models.TextModel
+            org_apache_flex_html_beads_models.TextModel
         */
     };
 };

Reply via email to