flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject git commit: [flex-asjs] [refs/heads/develop] - get last GCC warnings out of DataBindingTest
Date Mon, 06 Jul 2015 06:13:46 GMT
Repository: flex-asjs
Updated Branches:
  refs/heads/develop d500afa4a -> ad6b7a843


get last GCC warnings out of DataBindingTest


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

Branch: refs/heads/develop
Commit: ad6b7a843697765583da97cbc834a2298ec80d4e
Parents: d500afa
Author: Alex Harui <aharui@apache.org>
Authored: Sun Jul 5 23:13:29 2015 -0700
Committer: Alex Harui <aharui@apache.org>
Committed: Sun Jul 5 23:13:29 2015 -0700

----------------------------------------------------------------------
 .../Core/js/src/org/apache/flex/core/HTMLElementWrapper.js   | 2 +-
 .../Core/js/src/org/apache/flex/core/SimpleStatesImpl.js     | 2 ++
 .../Core/js/src/org/apache/flex/events/BrowserEvent.js       | 8 ++------
 3 files changed, 5 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ad6b7a84/frameworks/projects/Core/js/src/org/apache/flex/core/HTMLElementWrapper.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/core/HTMLElementWrapper.js b/frameworks/projects/Core/js/src/org/apache/flex/core/HTMLElementWrapper.js
index a819c65..75e2938 100644
--- a/frameworks/projects/Core/js/src/org/apache/flex/core/HTMLElementWrapper.js
+++ b/frameworks/projects/Core/js/src/org/apache/flex/core/HTMLElementWrapper.js
@@ -154,7 +154,7 @@ org_apache_flex_core_HTMLElementWrapper.googFireListener = null;
  */
 org_apache_flex_core_HTMLElementWrapper.fireListenerOverride = function(listener, eventObject)
{
   var e = new org_apache_flex_events_BrowserEvent();
-  e.wrappedEvent = eventObject;
+  e.wrappedEvent = /** @type {goog.events.BrowserEvent} */ (eventObject);
   return org_apache_flex_core_HTMLElementWrapper.googFireListener(listener, e);
 };
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ad6b7a84/frameworks/projects/Core/js/src/org/apache/flex/core/SimpleStatesImpl.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/core/SimpleStatesImpl.js b/frameworks/projects/Core/js/src/org/apache/flex/core/SimpleStatesImpl.js
index c483bca..82aa31a 100644
--- a/frameworks/projects/Core/js/src/org/apache/flex/core/SimpleStatesImpl.js
+++ b/frameworks/projects/Core/js/src/org/apache/flex/core/SimpleStatesImpl.js
@@ -18,7 +18,9 @@ goog.require('org_apache_flex_core_IBead');
 goog.require('org_apache_flex_core_IStatesImpl');
 goog.require('org_apache_flex_core_IStrand');
 goog.require('org_apache_flex_core_UIBase');
+goog.require('org_apache_flex_events_Event');
 goog.require('org_apache_flex_events_EventDispatcher');
+goog.require('org_apache_flex_events_ValueChangeEvent');
 goog.require('org_apache_flex_states_AddItems');
 goog.require('org_apache_flex_states_SetEventHandler');
 goog.require('org_apache_flex_states_SetProperty');

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ad6b7a84/frameworks/projects/Core/js/src/org/apache/flex/events/BrowserEvent.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/events/BrowserEvent.js b/frameworks/projects/Core/js/src/org/apache/flex/events/BrowserEvent.js
index 380c1e4..97fa15e 100644
--- a/frameworks/projects/Core/js/src/org/apache/flex/events/BrowserEvent.js
+++ b/frameworks/projects/Core/js/src/org/apache/flex/events/BrowserEvent.js
@@ -14,20 +14,15 @@
 goog.provide('org_apache_flex_events_BrowserEvent');
 
 goog.require('goog.events.BrowserEvent');
-//goog.require('org_apache_flex_events_Event');
 
 
 
 /**
  * @constructor
- * @extends {org_apache_flex_events_Event}
  */
 org_apache_flex_events_BrowserEvent = function() {
-//  org_apache_flex_events_BrowserEvent.base(this, 'constructor');
 
 };
-//goog.inherits(org_apache_flex_events_BrowserEvent,
-//    org_apache_flex_events_Event);
 
 
 /**
@@ -63,7 +58,8 @@ org_apache_flex_events_BrowserEvent.prototype.stopPropagation = function()
{
 /**
  */
 org_apache_flex_events_BrowserEvent.prototype.stopImmediatePropagation = function() {
-  this.wrappedEvent.stopImmediatePropagation();
+  //this.wrappedEvent.stopImmediatePropagation(); // not in goog.events.BrowserEvent
+  this.wrappedEvent.stopPropagation();
 };
 
 


Mime
View raw message