flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [25/47] git commit: [flex-asjs] [refs/heads/develop] - models need to be IBeadModel
Date Wed, 08 Apr 2015 23:05:44 GMT
models need to be IBeadModel


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

Branch: refs/heads/develop
Commit: ef847bf8d9b7b42cad3c41997d99533043ca7b47
Parents: 31e219f
Author: Alex Harui <aharui@apache.org>
Authored: Fri Apr 3 16:01:16 2015 -0700
Committer: Alex Harui <aharui@apache.org>
Committed: Fri Apr 3 16:01:16 2015 -0700

----------------------------------------------------------------------
 .../src/org/apache/flex/html/beads/models/ImageModel.js      | 8 +++++---
 .../src/org/apache/flex/html/beads/models/RangeModel.js      | 4 +++-
 2 files changed, 8 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ef847bf8/frameworks/js/FlexJS/src/org/apache/flex/html/beads/models/ImageModel.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/models/ImageModel.js b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/models/ImageModel.js
index e5fd9e5..188cc27 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/models/ImageModel.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/models/ImageModel.js
@@ -14,6 +14,7 @@
 
 goog.provide('org_apache_flex_html_beads_models_ImageModel');
 
+goog.require('org_apache_flex_core_IBeadModel');
 goog.require('org_apache_flex_events_EventDispatcher');
 
 
@@ -38,7 +39,8 @@ goog.inherits(
  */
 org_apache_flex_html_beads_models_ImageModel.prototype.FLEXJS_CLASS_INFO =
     { names: [{ name: 'ImageModel',
-                qName: 'org_apache_flex_html_beads_models_ImageModel'}] };
+                qName: 'org_apache_flex_html_beads_models_ImageModel'}],
+      interfaces: [ org_apache_flex_core_IBeadModel] };
 
 
 Object.defineProperties(org_apache_flex_html_beads_models_ImageModel.prototype, {
@@ -51,11 +53,11 @@ Object.defineProperties(org_apache_flex_html_beads_models_ImageModel.prototype,
     'source': {
         /** @this {org_apache_flex_html_beads_models_ImageModel} */
         get: function() {
-            return this.source;
+            return this.source_;
         },
         /** @this {org_apache_flex_html_beads_models_ImageModel} */
         set: function(value) {
-            this.source = value;
+            this.source_ = value;
             this.dispatchEvent('sourceChanged');
         }
     }

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ef847bf8/frameworks/js/FlexJS/src/org/apache/flex/html/beads/models/RangeModel.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/models/RangeModel.js b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/models/RangeModel.js
index eb20880..91ed062 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/html/beads/models/RangeModel.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/html/beads/models/RangeModel.js
@@ -14,6 +14,7 @@
 
 goog.provide('org_apache_flex_html_beads_models_RangeModel');
 
+goog.require('org_apache_flex_core_IBeadModel');
 goog.require('org_apache_flex_events_EventDispatcher');
 
 
@@ -42,7 +43,8 @@ goog.inherits(org_apache_flex_html_beads_models_RangeModel,
  */
 org_apache_flex_html_beads_models_RangeModel.prototype.FLEXJS_CLASS_INFO =
     { names: [{ name: 'RangeModel',
-                qName: 'org_apache_flex_html_beads_models_RangeModel'}] };
+                qName: 'org_apache_flex_html_beads_models_RangeModel'}],
+      interfaces: [ org_apache_flex_core_IBeadModel] };
 
 
 Object.defineProperties(org_apache_flex_html_beads_models_RangeModel.prototype, {


Mime
View raw message