flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [10/12] git commit: [flex-asjs] [refs/heads/core_js_to_as] - delete handwritten JS from these projects since they are theoretically replaced by cross-compiled AS
Date Wed, 02 Dec 2015 19:36:16 GMT
delete handwritten JS from these projects since they are theoretically replaced by cross-compiled AS


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

Branch: refs/heads/core_js_to_as
Commit: d4cace4a5ca18323d8b58c741be4cab71182f828
Parents: 9705549
Author: Alex Harui <aharui@apache.org>
Authored: Wed Dec 2 11:33:14 2015 -0800
Committer: Alex Harui <aharui@apache.org>
Committed: Wed Dec 2 11:33:14 2015 -0800

----------------------------------------------------------------------
 .../src/org/apache/flex/binding/BindingBase.js  | 117 ---
 .../src/org/apache/flex/binding/ChainBinding.js | 207 -----
 .../org/apache/flex/binding/ConstantBinding.js  |  72 --
 .../org/apache/flex/binding/GenericBinding.js   | 172 ----
 .../org/apache/flex/binding/PropertyWatcher.js  | 195 -----
 .../org/apache/flex/binding/SimpleBinding.js    |  94 --
 .../apache/flex/binding/ViewBaseDataBinding.js  | 349 --------
 .../src/org/apache/flex/binding/WatcherBase.js  | 246 ------
 .../org/apache/flex/charts/core/ChartBase.js    |  87 --
 .../org/apache/flex/charts/core/IAxisBead.js    |  61 --
 .../org/apache/flex/charts/core/IAxisGroup.js   |  45 -
 .../flex/charts/core/ICartesianChartLayout.js   |  39 -
 .../src/org/apache/flex/charts/core/IChart.js   |  48 -
 .../org/apache/flex/charts/core/IChartAxis.js   |  39 -
 .../apache/flex/charts/core/IChartDataGroup.js  |  53 --
 .../flex/charts/core/IChartItemRenderer.js      |  78 --
 .../org/apache/flex/charts/core/IChartSeries.js |  65 --
 .../flex/charts/core/IHorizontalAxisBead.js     |  60 --
 .../flex/charts/core/IVerticalAxisBead.js       |  59 --
 .../charts/supportClasses/ChartAxisGroup.js     | 162 ----
 .../charts/supportClasses/ChartDataGroup.js     |  83 --
 .../org/apache/flex/collections/ICollection.js  |  50 --
 .../apache/flex/collections/LazyCollection.js   | 163 ----
 .../collections/converters/JSONItemConverter.js |  48 -
 .../flex/collections/parsers/JSONInputParser.js |  48 -
 .../js/src/org/apache/flex/core/Application.js  | 176 ----
 .../js/src/org/apache/flex/core/BeadViewBase.js |  71 --
 .../apache/flex/core/BrowserResizeListener.js   |  78 --
 .../src/org/apache/flex/core/BrowserScroller.js |  55 --
 .../src/org/apache/flex/core/BrowserWindow.js   |  45 -
 .../src/org/apache/flex/core/CSSFontFaceBead.js |  54 --
 .../src/org/apache/flex/core/CallLaterBead.js   |  93 --
 .../js/src/org/apache/flex/core/ClassFactory.js |  64 --
 .../src/org/apache/flex/core/ContainerBase.js   | 378 --------
 .../flex/core/ContainerBaseStrandChildren.js    | 112 ---
 .../src/org/apache/flex/core/DataBindingBase.js |  34 -
 .../src/org/apache/flex/core/FilledRectangle.js |  86 --
 .../org/apache/flex/core/HTMLElementWrapper.js  | 177 ----
 .../Core/js/src/org/apache/flex/core/IBead.js   |  49 --
 .../src/org/apache/flex/core/IBeadController.js |  42 -
 .../js/src/org/apache/flex/core/IBeadLayout.js  |  42 -
 .../js/src/org/apache/flex/core/IBeadModel.js   |  45 -
 .../js/src/org/apache/flex/core/IBeadView.js    |  38 -
 .../Core/js/src/org/apache/flex/core/IChild.js  |  49 --
 .../Core/js/src/org/apache/flex/core/IChrome.js |  31 -
 .../js/src/org/apache/flex/core/IContainer.js   |  52 --
 .../src/org/apache/flex/core/IContainerView.js  |  44 -
 .../js/src/org/apache/flex/core/IContentView.js |  79 --
 .../org/apache/flex/core/IContentViewHost.js    |  52 --
 .../core/IDataProviderItemRendererMapper.js     |  53 --
 .../js/src/org/apache/flex/core/IDocument.js    |  51 --
 .../js/src/org/apache/flex/core/IEffectTimer.js |  45 -
 .../js/src/org/apache/flex/core/IFactory.js     |  45 -
 .../js/src/org/apache/flex/core/IFormatBead.js  |  62 --
 .../src/org/apache/flex/core/IItemRenderer.js   |  38 -
 .../flex/core/IItemRendererClassFactory.js      |  38 -
 .../apache/flex/core/IItemRendererFactory.js    |  45 -
 .../org/apache/flex/core/IItemRendererParent.js |  48 -
 .../js/src/org/apache/flex/core/ILayoutChild.js |  42 -
 .../js/src/org/apache/flex/core/ILayoutHost.js  |  46 -
 .../apache/flex/core/IListPresentationModel.js  |  60 --
 .../src/org/apache/flex/core/IMXMLDocument.js   |  41 -
 .../org/apache/flex/core/IMeasurementBead.js    |  38 -
 .../Core/js/src/org/apache/flex/core/IParent.js |  70 --
 .../src/org/apache/flex/core/IParentIUIBase.js  |  46 -
 .../js/src/org/apache/flex/core/IPopUpHost.js   |  45 -
 .../src/org/apache/flex/core/IRollOverModel.js  |  58 --
 .../apache/flex/core/ISelectableItemRenderer.js |  75 --
 .../src/org/apache/flex/core/ISelectionModel.js |  65 --
 .../js/src/org/apache/flex/core/IStatesImpl.js  |  47 -
 .../Core/js/src/org/apache/flex/core/IStrand.js |  70 --
 .../org/apache/flex/core/IStyleableObject.js    |  46 -
 .../js/src/org/apache/flex/core/ITextModel.js   |  54 --
 .../Core/js/src/org/apache/flex/core/IUIBase.js |  40 -
 .../js/src/org/apache/flex/core/IValuesImpl.js  |  73 --
 .../js/src/org/apache/flex/core/IViewport.js    |  44 -
 .../src/org/apache/flex/core/IViewportModel.js  |  44 -
 .../flex/core/ItemRendererClassFactory.js       |  96 --
 .../js/src/org/apache/flex/core/ListBase.js     | 179 ----
 .../apache/flex/core/ListBaseStrandChildren.js  | 112 ---
 .../org/apache/flex/core/SimpleApplication.js   |  49 --
 .../org/apache/flex/core/SimpleCSSValuesImpl.js | 361 --------
 .../org/apache/flex/core/SimpleStatesImpl.js    | 221 -----
 .../org/apache/flex/core/SimpleValuesImpl.js    |  33 -
 .../Core/js/src/org/apache/flex/core/UIBase.js  | 872 -------------------
 .../src/org/apache/flex/core/ValuesManager.js   |  57 --
 .../js/src/org/apache/flex/core/ViewBase.js     | 143 ---
 .../src/org/apache/flex/events/BrowserEvent.js  | 162 ----
 .../src/org/apache/flex/events/CustomEvent.js   |  58 --
 .../src/org/apache/flex/events/ElementEvents.js |  52 --
 .../Core/js/src/org/apache/flex/events/Event.js |  71 --
 .../org/apache/flex/events/EventDispatcher.js   | 138 ---
 .../org/apache/flex/events/IEventDispatcher.js  |  40 -
 .../js/src/org/apache/flex/events/MouseEvent.js | 186 ----
 .../org/apache/flex/events/ValueChangeEvent.js  | 119 ---
 .../js/src/org/apache/flex/events/ValueEvent.js |  69 --
 .../org/apache/flex/events/utils/MouseUtils.js  |  62 --
 .../Core/js/src/org/apache/flex/geom/Point.js   |  56 --
 .../js/src/org/apache/flex/geom/Rectangle.js    | 104 ---
 .../Core/js/src/org/apache/flex/geom/Size.js    |  56 --
 .../js/src/org/apache/flex/states/AddItems.js   | 249 ------
 .../org/apache/flex/states/SetEventHandler.js   | 152 ----
 .../src/org/apache/flex/states/SetProperty.js   | 173 ----
 .../Core/js/src/org/apache/flex/states/State.js |  82 --
 .../js/src/org/apache/flex/svg/TextButton.js    |  90 --
 .../apache/flex/svg/assets/TextButton_Skin.svg  | 279 ------
 .../js/src/org/apache/flex/utils/BinaryData.js  | 223 -----
 .../org/apache/flex/utils/CSSContainerUtils.js  |  83 --
 .../js/src/org/apache/flex/utils/EffectTimer.js |  94 --
 .../js/src/org/apache/flex/utils/Language.js    | 316 -------
 .../apache/flex/utils/MXMLDataInterpreter.js    | 412 ---------
 .../src/org/apache/flex/utils/MixinManager.js   |  62 --
 .../js/src/org/apache/flex/utils/PointUtils.js  |  82 --
 .../Core/js/src/org/apache/flex/utils/Timer.js  | 148 ----
 .../js/src/org/apache/flex/utils/UIUtils.js     |  84 --
 .../flex/utils/ViewSourceContextMenuOption.js   |  47 -
 .../js/src/org/apache/flex/events/DragEvent.js  | 146 ----
 .../org/apache/flex/effects/PlatformWiper.js    |  85 --
 .../src/org/apache/flex/core/graphics/Circle.js | 101 ---
 .../org/apache/flex/core/graphics/Ellipse.js    |  80 --
 .../apache/flex/core/graphics/GradientBase.js   | 141 ---
 .../apache/flex/core/graphics/GradientEntry.js  | 126 ---
 .../apache/flex/core/graphics/GraphicShape.js   | 205 -----
 .../flex/core/graphics/GraphicsContainer.js     | 250 ------
 .../src/org/apache/flex/core/graphics/IFill.js  |  52 --
 .../org/apache/flex/core/graphics/IStroke.js    |  52 --
 .../src/org/apache/flex/core/graphics/Line.js   |  79 --
 .../apache/flex/core/graphics/LinearGradient.js | 125 ---
 .../src/org/apache/flex/core/graphics/Path.js   | 101 ---
 .../src/org/apache/flex/core/graphics/Rect.js   |  80 --
 .../org/apache/flex/core/graphics/SolidColor.js |  92 --
 .../flex/core/graphics/SolidColorStroke.js      | 109 ---
 .../src/org/apache/flex/core/graphics/Text.js   |  70 --
 .../HTML/js/src/org/apache/flex/html/Alert.js   | 193 ----
 .../HTML/js/src/org/apache/flex/html/Button.js  |  61 --
 .../js/src/org/apache/flex/html/ButtonBar.js    |  85 --
 .../js/src/org/apache/flex/html/CheckBox.js     |  91 --
 .../js/src/org/apache/flex/html/CloseButton.js  |  55 --
 .../js/src/org/apache/flex/html/ComboBox.js     | 194 -----
 .../js/src/org/apache/flex/html/Container.js    | 123 ---
 .../js/src/org/apache/flex/html/ControlBar.js   |  59 --
 .../js/src/org/apache/flex/html/DropDownList.js | 142 ---
 .../js/src/org/apache/flex/html/HContainer.js   |  42 -
 .../HTML/js/src/org/apache/flex/html/HRule.js   |  45 -
 .../HTML/js/src/org/apache/flex/html/Image.js   |  82 --
 .../org/apache/flex/html/ImageAndTextButton.js  | 103 ---
 .../HTML/js/src/org/apache/flex/html/Label.js   |  71 --
 .../HTML/js/src/org/apache/flex/html/List.js    | 196 -----
 .../src/org/apache/flex/html/MultilineLabel.js  |  69 --
 .../src/org/apache/flex/html/NumericStepper.js  | 163 ----
 .../HTML/js/src/org/apache/flex/html/Panel.js   | 163 ----
 .../js/src/org/apache/flex/html/RadioButton.js  | 180 ----
 .../js/src/org/apache/flex/html/SimpleAlert.js  |  51 --
 .../js/src/org/apache/flex/html/SimpleList.js   | 111 ---
 .../HTML/js/src/org/apache/flex/html/Slider.js  | 173 ----
 .../HTML/js/src/org/apache/flex/html/Spacer.js  |  44 -
 .../HTML/js/src/org/apache/flex/html/Spinner.js | 171 ----
 .../js/src/org/apache/flex/html/TextArea.js     |  71 --
 .../js/src/org/apache/flex/html/TextButton.js   |  54 --
 .../js/src/org/apache/flex/html/TextInput.js    |  98 ---
 .../js/src/org/apache/flex/html/TitleBar.js     |  87 --
 .../org/apache/flex/html/ToggleTextButton.js    | 122 ---
 .../HTML/js/src/org/apache/flex/html/ToolTip.js |  40 -
 .../js/src/org/apache/flex/html/VContainer.js   |  42 -
 .../HTML/js/src/org/apache/flex/html/VRule.js   |  50 --
 .../accessories/NumericOnlyTextInputBead.js     |  92 --
 .../flex/html/accessories/PasswordInputBead.js  |  54 --
 .../flex/html/accessories/TextPromptBead.js     |  64 --
 .../org/apache/flex/html/beads/ButtonBarView.js |  70 --
 .../org/apache/flex/html/beads/ContainerView.js | 434 ---------
 .../DataItemRendererFactoryForArrayData.js      | 140 ---
 .../src/org/apache/flex/html/beads/IListView.js |  43 -
 .../apache/flex/html/beads/ImageButtonView.js   |  45 -
 .../src/org/apache/flex/html/beads/ImageView.js | 117 ---
 .../src/org/apache/flex/html/beads/ListView.js  | 169 ----
 .../src/org/apache/flex/html/beads/PanelView.js | 204 -----
 .../flex/html/beads/ScrollingContainerView.js   |  81 --
 .../apache/flex/html/beads/SliderThumbView.js   |  62 --
 .../apache/flex/html/beads/SliderTrackView.js   |  62 --
 .../flex/html/beads/TextInputWithBorderView.js  |  45 -
 .../TextItemRendererFactoryForArrayData.js      | 117 ---
 .../controllers/ItemRendererMouseController.js  | 127 ---
 .../ListSingleSelectionMouseController.js       |  77 --
 .../beads/controllers/SliderMouseController.js  | 172 ----
 .../beads/controllers/SpinnerMouseController.js |  85 --
 .../flex/html/beads/layouts/BasicLayout.js      | 125 ---
 .../flex/html/beads/layouts/ButtonBarLayout.js  | 110 ---
 .../flex/html/beads/layouts/HorizontalLayout.js | 100 ---
 .../flex/html/beads/layouts/TileLayout.js       | 168 ----
 .../flex/html/beads/layouts/VerticalLayout.js   |  97 ---
 .../html/beads/models/ArraySelectionModel.js    | 127 ---
 .../apache/flex/html/beads/models/ImageModel.js |  66 --
 .../html/beads/models/ListPresentationModel.js  |  94 --
 .../apache/flex/html/beads/models/PanelModel.js | 110 ---
 .../apache/flex/html/beads/models/RangeModel.js | 158 ----
 .../apache/flex/html/beads/models/TextModel.js  |  68 --
 .../flex/html/beads/models/TitleBarModel.js     | 112 ---
 .../flex/html/beads/models/ViewportModel.js     |  93 --
 .../ButtonBarButtonItemRenderer.js              | 105 ---
 .../html/supportClasses/ContainerContentArea.js |  80 --
 .../flex/html/supportClasses/DataGridColumn.js  |  75 --
 .../flex/html/supportClasses/DataGroup.js       | 138 ---
 .../html/supportClasses/DataItemRenderer.js     | 134 ---
 .../html/supportClasses/ScrollingViewport.js    | 130 ---
 .../html/supportClasses/StringItemRenderer.js   | 144 ---
 .../html/supportClasses/UIItemRendererBase.js   | 181 ----
 .../apache/flex/html/supportClasses/Viewport.js | 112 ---
 .../js/src/org/apache/cordova/Application.js    |  61 --
 .../Mobile/js/src/org/apache/cordova/Weinre.js  |  67 --
 .../js/src/org/apache/cordova/camera/Camera.js  | 136 ---
 .../src/org/apache/flex/mobile/ManagerBase.js   | 136 ---
 .../src/org/apache/flex/net/BinaryUploader.js   | 360 --------
 .../js/src/org/apache/flex/net/HTTPHeader.js    |  63 --
 .../js/src/org/apache/flex/net/HTTPService.js   | 420 ---------
 214 files changed, 23042 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Binding/js/src/org/apache/flex/binding/BindingBase.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Binding/js/src/org/apache/flex/binding/BindingBase.js b/frameworks/projects/Binding/js/src/org/apache/flex/binding/BindingBase.js
deleted file mode 100644
index 9b83587..0000000
--- a/frameworks/projects/Binding/js/src/org/apache/flex/binding/BindingBase.js
+++ /dev/null
@@ -1,117 +0,0 @@
-/**
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *    http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-goog.provide('org.apache.flex.binding.BindingBase');
-
-
-
-/**
- * @constructor
- */
-org.apache.flex.binding.BindingBase = function() {
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.binding.BindingBase.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'BindingBase',
-                qName: 'org.apache.flex.binding.BindingBase'}] };
-
-
-/**
- * @protected
- * @type {Object}
- */
-org.apache.flex.binding.BindingBase.prototype.document = null;
-
-
-/**
- * @export
- * @type {Object}
- */
-org.apache.flex.binding.BindingBase.prototype.destination = null;
-
-
-/**
- * @export
- * @type {string}
- */
-org.apache.flex.binding.BindingBase.prototype.destinationPropertyName = '';
-
-
-/**
- * @export
- * @type {Object}
- */
-org.apache.flex.binding.BindingBase.prototype.source = null;
-
-
-/**
- * @export
- * @type {string}
- */
-org.apache.flex.binding.BindingBase.prototype.sourcePropertyName = '';
-
-
-/**
- * @export
- * @type {?string}
- */
-org.apache.flex.binding.BindingBase.prototype.sourceID = null;
-
-
-/**
- * @export
- * @param {Object} document The MXML object.
- */
-org.apache.flex.binding.BindingBase.prototype.setDocument = function(document) {
-  this.document = document;
-};
-
-
-/**
- * @param {Object} event The event.
- */
-org.apache.flex.binding.BindingBase.prototype.sourceChangeHandler = function(event) {
-  if (event.propertyName != this.sourceID)
-    return;
-
-  this.source = this.document[this.sourceID];
-};
-
-
-Object.defineProperties(org.apache.flex.binding.BindingBase.prototype, {
-  /** @export */
-  strand: {
-        /** @this {org.apache.flex.binding.BindingBase} */
-      set: function(value) {
-          if (this.destination == null)
-            this.destination = value;
-          if (this.sourceID != null) {
-            this.source = this.document[this.sourceID];
-            if (this.source == null) {
-               this.document.addEventListener('valueChange',
-                    goog.bind(this.sourceChangeHandler, this));
-               return;
-            }
-          }
-          else
-            this.source = this.document;
-        }
-    }
-});

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Binding/js/src/org/apache/flex/binding/ChainBinding.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Binding/js/src/org/apache/flex/binding/ChainBinding.js b/frameworks/projects/Binding/js/src/org/apache/flex/binding/ChainBinding.js
deleted file mode 100644
index 5beeb2c..0000000
--- a/frameworks/projects/Binding/js/src/org/apache/flex/binding/ChainBinding.js
+++ /dev/null
@@ -1,207 +0,0 @@
-/**
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *    http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-goog.provide('org.apache.flex.binding.ChainBinding');
-goog.provide('org.apache.flex.binding.ChainWatcher');
-
-
-
-/**
- * @constructor
- */
-org.apache.flex.binding.ChainBinding = function() {
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.binding.ChainBinding.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'ChainBinding',
-                qName: 'org.apache.flex.binding.ChainBinding'}] };
-
-
-/**
- * @protected
- * @type {Object}
- */
-org.apache.flex.binding.ChainBinding.prototype.document = null;
-
-
-/**
- * @export
- * @type {Object}
- */
-org.apache.flex.binding.ChainBinding.prototype.destination = null;
-
-
-/**
- * @export
- * @type {Object}
- */
-org.apache.flex.binding.ChainBinding.prototype.value = null;
-
-
-/**
- * @export
- * @type {Object}
- */
-org.apache.flex.binding.ChainBinding.prototype.source = null;
-
-
-/**
- */
-org.apache.flex.binding.ChainBinding.prototype.applyBinding = function() {
-  var chainSet = this.evaluateSourceChain();
-  if (chainSet)
-    this.applyValue();
-};
-
-
-/**
- * @return {boolean} True if chain complete.
- */
-org.apache.flex.binding.ChainBinding.prototype.evaluateSourceChain = function() {
-  var propName;
-  var n = this.source.length;
-  var obj = this.document;
-  for (var i = 0; i < n - 1; i++) {
-    propName = this.source[i];
-    var propObj;
-    propObj = obj[propName];
-    var watcher = new org.apache.flex.binding.ChainWatcher(propName, this.applyBinding);
-    obj.addEventListener('valueChange', watcher.handler);
-    if (propObj == null)
-      return false;
-    obj = propObj;
-  }
-  propName = this.source[n - 1];
-  var self = this;
-  function valueChangeHandler(event) {
-    if (event.propertyName != propName)
-      return;
-    self.value = event.newValue;
-    self.applyValue();
-  }
-  obj.addEventListener('valueChange', valueChangeHandler);
-
-  // we have a complete chain, get the value
-  this.value = obj[propName];
-  return true;
-};
-
-
-/**
- */
-org.apache.flex.binding.ChainBinding.prototype.applyValue = function() {
-  var destinationName, n, obj, self;
-  function handler(event) {
-    if (event.propertyName != propName)
-      return;
-    if (event.oldValue != null)
-      event.oldValue.removeEventListener('valueChange', handler);
-    self.applyValue();
-  }
-  if (typeof(this.destination) === 'string') {
-    destinationName = this.destination;
-    this.document[destinationName] = this.value;
-    return;
-  }
-
-  n = this.destination.length;
-  obj = this.document;
-  self = this;
-  for (var i = 0; i < n - 1; i++) {
-    var propName = this.destination[i];
-    var propObj;
-    propObj = obj[propName];
-    if (propObj == null) {
-      obj.addEventListener('valueChange', handler);
-      return;
-    }
-    obj = propObj;
-  }
-  obj[this.destination[n - 1]] = this.value;
-};
-
-
-/**
- * @export
- * @param {Object} document The MXML object.
- */
-org.apache.flex.binding.ChainBinding.prototype.setDocument = function(document) {
-  this.document = document;
-};
-
-
-
-/**
- * @constructor
- * @param {string} propName The name of the property to watch.
- * @param {function()} cb The callback function.
- */
-org.apache.flex.binding.ChainWatcher = function(propName, cb) {
-  this.propertyName = propName;
-  this.callback = cb;
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.binding.ChainWatcher.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'ChainWatcher',
-                qName: 'org.apache.flex.binding.ChainWatcher'}] };
-
-
-/**
- * @protected
- * @type {string}
- */
-org.apache.flex.binding.ChainWatcher.prototype.propertyName = '';
-
-
-/**
- * @protected
- * @type {?function()}
- */
-org.apache.flex.binding.ChainWatcher.prototype.callback = null;
-
-
-/**
- * @export
- * @param {Object} event The event object.
- */
-org.apache.flex.binding.ChainWatcher.prototype.handler = function(event) {
-  if (event.propertyName != this.propertyName)
-    return;
-  if (event.oldValue != null)
-    event.oldValue.removeEventListener('valueChange', this.handler);
-  this.callback();
-};
-
-
-Object.defineProperties(org.apache.flex.binding.ChainBinding.prototype, {
-    /** @export */
-    strand: {
-        /** @this {org.apache.flex.binding.ChainBinding} */
-        set: function(value) {
-            this.applyBinding();
-        }
-    }
-});

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Binding/js/src/org/apache/flex/binding/ConstantBinding.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Binding/js/src/org/apache/flex/binding/ConstantBinding.js b/frameworks/projects/Binding/js/src/org/apache/flex/binding/ConstantBinding.js
deleted file mode 100644
index 65f5e43..0000000
--- a/frameworks/projects/Binding/js/src/org/apache/flex/binding/ConstantBinding.js
+++ /dev/null
@@ -1,72 +0,0 @@
-/**
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *    http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-goog.provide('org.apache.flex.binding.ConstantBinding');
-
-goog.require('org.apache.flex.binding.BindingBase');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.binding.BindingBase}
- */
-org.apache.flex.binding.ConstantBinding = function() {
-  org.apache.flex.binding.ConstantBinding.base(this, 'constructor');
-};
-goog.inherits(org.apache.flex.binding.ConstantBinding,
-    org.apache.flex.binding.BindingBase);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.binding.ConstantBinding.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'ConstantBinding',
-                qName: 'org.apache.flex.binding.ConstantBinding'}] };
-
-
-Object.defineProperties(org.apache.flex.binding.ConstantBinding.prototype, {
-    /** @export */
-    strand: {
-        /** @this {org.apache.flex.binding.ConstantBinding} */
-        set: function(value) {
-            org.apache.flex.utils.Language.superSetter(org.apache.flex.binding.ConstantBinding, this, 'strand', value);
-
-            var val;
-            if (this.sourcePropertyName in this.source) {
-              val = this.source[this.sourcePropertyName];
-            } else if (this.sourcePropertyName in this.source.constructor) {
-              val = this.source.constructor[this.sourcePropertyName];
-            } else {
-              // GCC optimizer only puts exported class constants on
-              // Window and not on the class itself (which got renamed)
-              var cname = this.source.FLEXJS_CLASS_INFO;
-              if (cname) {
-                cname = cname.names[0].qName;
-                var parts = cname.split('.');
-                var n = parts.length;
-                var o = window;
-                for (var i = 0; i < n; i++) {
-                  o = o[parts[i]];
-                }
-                val = o[this.sourcePropertyName];
-              }
-            }
-            this.destination[this.destinationPropertyName] = val;
-        }
-    }
-});

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Binding/js/src/org/apache/flex/binding/GenericBinding.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Binding/js/src/org/apache/flex/binding/GenericBinding.js b/frameworks/projects/Binding/js/src/org/apache/flex/binding/GenericBinding.js
deleted file mode 100644
index 37aff5e..0000000
--- a/frameworks/projects/Binding/js/src/org/apache/flex/binding/GenericBinding.js
+++ /dev/null
@@ -1,172 +0,0 @@
-/**
- * Licensed under the Apache License, Version 2.0 (the 'License');
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an 'AS IS' BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-goog.provide('org.apache.flex.binding.GenericBinding');
-
-goog.require('org.apache.flex.binding.BindingBase');
-goog.require('org.apache.flex.events.ValueChangeEvent');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.binding.BindingBase}
- */
-org.apache.flex.binding.GenericBinding = function() {
-  org.apache.flex.binding.GenericBinding.base(this, 'constructor');
-};
-goog.inherits(org.apache.flex.binding.GenericBinding,
-    org.apache.flex.binding.BindingBase);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.binding.GenericBinding.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'GenericBinding',
-                qName: 'org.apache.flex.binding.GenericBinding'}] };
-
-
-/**
- * @export
- * @type {Object}
- */
-org.apache.flex.binding.GenericBinding.prototype.destinationData = null;
-
-
-/**
- * @export
- * @type {?function(?): ?}
- */
-org.apache.flex.binding.GenericBinding.prototype.destinationFunction = null;
-
-
-Object.defineProperties(org.apache.flex.binding.GenericBinding.prototype, {
-    /** @export */
-    strand: {
-        /** @this {org.apache.flex.binding.GenericBinding} */
-        set: function(value) {
-            this.destination = value;
-
-            try {
-              var val = this.getValueFromSource();
-              this.applyValue(val);
-            } catch (e) {
-            }
-        }
-    }
-});
-
-
-/**
- * @export
- * @return {Object} The value from the source as specified.
- */
-org.apache.flex.binding.GenericBinding.prototype.getValueFromSource =
-    function() {
-  var obj;
-  if (typeof(this.source) == 'object' &&
-      typeof(this.source.slice) == 'function')
-  {
-    var arr = this.source;
-    var n = arr.length;
-    obj = this.document[arr[0]];
-    if (obj == null)
-      return null;
-    for (var i = 1; i < n; i++)
-    {
-      obj = obj[arr[i]];
-      if (obj == null)
-        return null;
-    }
-    return obj;
-  }
-  else if (typeof(this.source) == 'function')
-  {
-    var fn = this.source;
-    obj = fn.apply(this.document);
-    return obj;
-  }
-  else if (typeof(this.source) == 'string')
-  {
-    obj = this.document[this.source];
-    return obj;
-  }
-  return null;
-};
-
-
-/**
- * @export
- * @param {Object} value The value from the source as specified.
- */
-org.apache.flex.binding.GenericBinding.prototype.applyValue =
-    function(value) {
-  if (this.destinationFunction != null)
-  {
-    this.destinationFunction.apply(this.document, [value]);
-  }
-  else if (typeof(this.destinationData) == 'object')
-  {
-    var arr = this.destinationData;
-    var n = arr.length;
-    var obj;
-    var getter = arr[0];
-    obj = this.document[arr[0]];
-    if (obj == null) {
-       this.document.addEventListener(
-           org.apache.flex.events.ValueChangeEvent.VALUE_CHANGE,
-           goog.bind(this.destinationChangeHandler, this));
-       return;
-    }
-    for (var i = 1; i < n - 1; i++)
-    {
-      getter = arr[i];
-       obj = obj[arr[i]];
-      if (obj == null)
-        return;
-    }
-    var setter = arr[n - 1];
-      obj[arr[n - 1]] = value;
-  }
-};
-
-
-/**
- * @export
- * @param {Object} value The value from the source as specified.
- */
-org.apache.flex.binding.GenericBinding.prototype.valueChanged =
-    function(value) {
-
-  try {
-    var val = this.getValueFromSource();
-    this.applyValue(val);
-  } catch (e) {
-  }
-};
-
-
-/**
- * @export
- * @param {Object} event The change event.
- */
-org.apache.flex.binding.GenericBinding.prototype.destinationChangeHandler =
-    function(event) {
-  if (event.propertyName == this.destinationData[0])
-    this.valueChanged(null);
-};
-

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Binding/js/src/org/apache/flex/binding/PropertyWatcher.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Binding/js/src/org/apache/flex/binding/PropertyWatcher.js b/frameworks/projects/Binding/js/src/org/apache/flex/binding/PropertyWatcher.js
deleted file mode 100644
index 5549be9..0000000
--- a/frameworks/projects/Binding/js/src/org/apache/flex/binding/PropertyWatcher.js
+++ /dev/null
@@ -1,195 +0,0 @@
-/**
- * Licensed under the Apache License, Version 2.0 (the 'License');
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an 'AS IS' BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-goog.provide('org.apache.flex.binding.PropertyWatcher');
-
-goog.require('org.apache.flex.binding.WatcherBase');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.binding.WatcherBase}
- * @param {Object} source The source object.
- * @param {string} propertyName The property in the source.
- * @param {Object} eventNames An array of event names or an event name.
- * @param {function(?): ?} getterFunction A function to get the source property.
- */
-org.apache.flex.binding.PropertyWatcher =
-    function(source, propertyName, eventNames, getterFunction) {
-  org.apache.flex.binding.PropertyWatcher.base(this, 'constructor');
-
-  this.source = source;
-  this.propertyName = propertyName;
-  this.getterFunction = getterFunction;
-  this.eventNames = eventNames;
-};
-goog.inherits(org.apache.flex.binding.PropertyWatcher,
-    org.apache.flex.binding.WatcherBase);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.binding.PropertyWatcher.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'PropertyWatcher',
-                qName: 'org.apache.flex.binding.PropertyWatcher'}] };
-
-
-/**
- * @type {Object}
- */
-org.apache.flex.binding.PropertyWatcher.prototype.source = null;
-
-
-/**
- * @type {?string}
- */
-org.apache.flex.binding.PropertyWatcher.prototype.propertyName = null;
-
-
-/**
- * @type {Object}
- */
-org.apache.flex.binding.PropertyWatcher.prototype.eventNames = null;
-
-
-/**
- * @type {?function(?): ?}
- */
-org.apache.flex.binding.PropertyWatcher.prototype.getterFunction = null;
-
-
-/**
- * @protected
- * @param {Object} event The event.
- */
-org.apache.flex.binding.PropertyWatcher.prototype.changeHandler =
-    function(event) {
-  if (typeof(event.propertyName) == 'string')
-  {
-    var propName = event.propertyName;
-
-    if (propName != this.propertyName)
-      return;
-  }
-
-  this.wrapUpdate(this.updateProperty);
-
-  this.notifyListeners();
-
-};
-
-
-/**
- * @export
- * @param {Object} parent The new parent watcher.
- */
-org.apache.flex.binding.PropertyWatcher.prototype.parentChanged =
-    function(parent) {
-
-  if (this.source &&
-      typeof(this.source.removeEventListener) == 'function')
-    this.removeEventListeners();
-
-  this.source = parent;
-
-  if (this.source && typeof(this.source.addEventListener) == 'function')
-    this.addEventListeners();
-
-  // Now get our property.
-  this.wrapUpdate(this.updateProperty);
-};
-
-
-/**
- * @protected
- */
-org.apache.flex.binding.PropertyWatcher.prototype.addEventListeners =
-    function() {
-  if (typeof(this.eventNames) == 'string')
-    this.source.addEventListener(this.eventNames,
-        goog.bind(this.changeHandler, this));
-  else if (typeof(this.eventNames) == 'object')
-  {
-    var arr = this.eventNames;
-    var n = arr.length;
-    for (var i = 0; i < n; i++)
-    {
-      var eventName = this.eventNames[i];
-      this.source.addEventListener(eventName,
-          goog.bind(this.changeHandler, this));
-    }
-  }
-};
-
-
-/**
- * @protected
- */
-org.apache.flex.binding.PropertyWatcher.prototype.removeEventListeners =
-    function() {
-  if (typeof(this.eventNames) == 'string')
-    this.source.removeEventListener(this.eventNames,
-        goog.bind(this.changeHandler, this));
-  else if (typeof(this.eventNames) == 'object')
-  {
-    var arr = this.eventNames;
-    var n = arr.length;
-    for (var i = 0; i < n; i++)
-    {
-      var eventName = this.eventNames[i];
-      this.source.removeEventListener(eventName,
-          goog.bind(this.changeHandler, this));
-    }
-  }
-};
-
-
-/**
- * @protected
- * Gets the actual property then updates
- * the Watcher's children appropriately.
- */
-org.apache.flex.binding.PropertyWatcher.prototype.updateProperty =
-    function() {
-
-  if (this.source)
-  {
-    if (this.propertyName == 'this')
-    {
-      this.value = this.source;
-    }
-    else
-    {
-      if (this.getterFunction != null)
-      {
-        this.value = this.getterFunction.apply(
-            this.source, [this.propertyName]);
-      }
-      else
-      {
-        this.value = this.source[this.propertyName];
-      }
-    }
-  }
-  else
-  {
-    this.value = null;
-  }
-
-  this.updateChildren();
-};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Binding/js/src/org/apache/flex/binding/SimpleBinding.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Binding/js/src/org/apache/flex/binding/SimpleBinding.js b/frameworks/projects/Binding/js/src/org/apache/flex/binding/SimpleBinding.js
deleted file mode 100644
index 4846f06..0000000
--- a/frameworks/projects/Binding/js/src/org/apache/flex/binding/SimpleBinding.js
+++ /dev/null
@@ -1,94 +0,0 @@
-/**
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-goog.provide('org.apache.flex.binding.SimpleBinding');
-
-goog.require('org.apache.flex.binding.BindingBase');
-goog.require('org.apache.flex.utils.Language');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.binding.BindingBase}
- */
-org.apache.flex.binding.SimpleBinding = function() {
-  org.apache.flex.binding.SimpleBinding.base(this, 'constructor');
-};
-goog.inherits(org.apache.flex.binding.SimpleBinding,
-    org.apache.flex.binding.BindingBase);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.binding.SimpleBinding.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'SimpleBinding',
-                qName: 'org.apache.flex.binding.SimpleBinding'}] };
-
-
-/**
- * @export
- * @type {string}
- */
-org.apache.flex.binding.SimpleBinding.prototype.eventName = '';
-
-
-/**
- * @export
- */
-org.apache.flex.binding.SimpleBinding.prototype.changeHandler = function() {
-  try {
-    this.destination[this.destinationPropertyName] =
-        this.source[this.sourcePropertyName];
-  }
-  catch (e) {}
-};
-
-
-/**
- * @param {Object} event The event.
- */
-org.apache.flex.binding.SimpleBinding.prototype.sourceChangeHandler = function(event) {
-  org.apache.flex.binding.SimpleBinding.base(this, 'sourceChangeHandler', event);
-  if (this.source) {
-    this.source.addEventListener(this.eventName,
-        goog.bind(this.changeHandler, this));
-    this.changeHandler();
-  }
-};
-
-
-Object.defineProperties(org.apache.flex.binding.SimpleBinding.prototype, {
-    /** @export */
-    strand: {
-        /** @this {org.apache.flex.binding.SimpleBinding} */
-         set: function(value) {
-            org.apache.flex.utils.Language.superSetter(
-                org.apache.flex.binding.SimpleBinding, this, 'strand', value);
-
-            if (!this.source)
-                return;
-
-            this.source.addEventListener(this.eventName,
-                goog.bind(this.changeHandler, this));
-
-            this.changeHandler();
-         }
-    }
-});
-
-

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Binding/js/src/org/apache/flex/binding/ViewBaseDataBinding.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Binding/js/src/org/apache/flex/binding/ViewBaseDataBinding.js b/frameworks/projects/Binding/js/src/org/apache/flex/binding/ViewBaseDataBinding.js
deleted file mode 100644
index d41c23f..0000000
--- a/frameworks/projects/Binding/js/src/org/apache/flex/binding/ViewBaseDataBinding.js
+++ /dev/null
@@ -1,349 +0,0 @@
-/**
- * Licensed under the Apache License, Version 2.0 (the 'License');
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an 'AS IS' BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-goog.provide('org.apache.flex.binding.ViewBaseDataBinding');
-
-goog.require('org.apache.flex.binding.ConstantBinding');
-goog.require('org.apache.flex.binding.GenericBinding');
-goog.require('org.apache.flex.binding.PropertyWatcher');
-goog.require('org.apache.flex.binding.SimpleBinding');
-goog.require('org.apache.flex.events.Event');
-goog.require('org.apache.flex.events.ValueChangeEvent');
-
-
-
-/**
- * @constructor
- */
-org.apache.flex.binding.ViewBaseDataBinding = function() {
-
-  /**
-   * @private
-   * @type {Object}
-   */
-  this.strand_ = null;
-
-  /**
-   * @protected
-   * @type {Object}
-   */
-  this.deferredBindings = {};
-
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.binding.ViewBaseDataBinding.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'ViewBaseDataBinding',
-                qName: 'org.apache.flex.binding.ViewBaseDataBinding'}] };
-
-
-Object.defineProperties(org.apache.flex.binding.ViewBaseDataBinding.prototype, {
-    /** @export */
-    strand: {
-        /** @this {org.apache.flex.binding.ViewBaseDataBinding} */
-        set: function(value) {
-            if (this.strand_ !== value) {
-              this.strand_ = value;
-              this.strand_.addEventListener('initBindings',
-              goog.bind(this.initBindingsHandler, this));
-            }
-        }
-    }
-});
-
-
-/**
- * @protected
- * @param {Object} event The event.
- */
-org.apache.flex.binding.ViewBaseDataBinding.prototype.initBindingsHandler =
-    function(event) {
-
-  var prop;
-  var fieldWatcher;
-  var sb;
-  var bindingData = this.strand_._bindings;
-  var n = bindingData[0];
-  var bindings = [];
-  var i;
-  var binding;
-  var destination;
-  var index = 1;
-  for (i = 0; i < n; i++)
-  {
-    binding = {};
-    binding.source = bindingData[index++];
-    binding.destFunc = bindingData[index++];
-    binding.destination = bindingData[index++];
-    bindings.push(binding);
-  }
-  var watchers = this.decodeWatcher(bindingData.slice(index));
-  for (i = 0; i < n; i++)
-  {
-    binding = bindings[i];
-    // try to determine if it is an array
-    if (typeof(binding.source) == 'object' &&
-            typeof(binding.source.slice) == 'function')
-    {
-      if (binding.source[0] == 'applicationModel')
-      {
-        if (binding.source.length == 2 &&
-            binding.destination.length == 2)
-        {
-          // can be simplebinding or constantbinding
-          var modelWatcher =
-              watchers.watcherMap.applicationModel;
-          var childMap = modelWatcher.children.watcherMap;
-          fieldWatcher = childMap[binding.source[1]];
-          if (typeof(fieldWatcher.eventNames) == 'string')
-          {
-            sb = new org.apache.flex.binding.SimpleBinding();
-            sb.destinationPropertyName =
-                binding.destination[1];
-            sb.eventName = fieldWatcher.eventNames;
-            sb.sourceID = binding.source[0];
-            sb.sourcePropertyName = binding.source[1];
-            sb.setDocument(this.strand_);
-            prop = binding.destination[0];
-
-            destination = this.strand_[prop];
-
-            if (destination)
-              destination.addBead(sb);
-            else
-            {
-              this.deferredBindings[prop] =
-                  sb;
-              this.strand_.addEventListener('valueChange',
-                  goog.bind(this.deferredBindingsHandler, this));
-            }
-          }
-          else if (fieldWatcher.eventNames == null)
-          {
-            var cb;
-            cb = org.apache.flex.binding.ConstantBinding;
-            cb = new cb();
-            cb.destinationPropertyName =
-                binding.destination[1];
-            cb.sourceID = binding.source[0];
-            cb.sourcePropertyName = binding.source[1];
-            cb.setDocument(this.strand_);
-            prop = binding.destination[0];
-            destination = this.strand_[prop];
-
-            if (destination)
-              destination.addBead(cb);
-            else
-            {
-              this.deferredBindings[prop] =
-                  cb;
-              this.strand_.addEventListener('valueChange',
-                  this.deferredBindingsHandler);
-            }
-          }
-        }
-      }
-    }
-    else if (typeof(binding.source) == 'string')
-    {
-      fieldWatcher = watchers.watcherMap[binding.source];
-      if (typeof(fieldWatcher.eventNames) == 'string')
-      {
-        sb = new org.apache.flex.binding.SimpleBinding();
-        sb.destinationPropertyName = binding.destination[1];
-        sb.eventName = fieldWatcher.eventNames;
-        sb.sourcePropertyName = binding.source;
-        sb.setDocument(this.strand_);
-        prop = binding.destination[0];
-        destination = this.strand_[prop];
-
-        if (destination)
-          destination.addBead(sb);
-        else
-        {
-          this.deferredBindings[prop] = sb;
-          this.strand_.addEventListener('valueChange',
-              this.deferredBindingsHandler);
-        }
-      }
-    }
-    else
-    {
-      this.makeGenericBinding(binding, i, watchers);
-    }
-  }
-};
-
-
-/**
- * @protected
- * @param {Object} binding The binding object.
- * @param {number} index The offset in the Binding database.
- * @param {Object} watchers The database of Watchers.
- */
-org.apache.flex.binding.ViewBaseDataBinding.prototype.makeGenericBinding =
-    function(binding, index, watchers) {
-  var gb = new org.apache.flex.binding.GenericBinding();
-  gb.setDocument(this.strand_);
-  gb.destinationData = binding.destination;
-  gb.destinationFunction = binding.destFunc;
-  gb.source = binding.source;
-  this.setupWatchers(gb, index, watchers.watchers, null);
-};
-
-
-/**
- * @protected
- * @param {Object} gb The generic binding object.
- * @param {number} index The offset in the Binding database.
- * @param {Object} watchers The array of Watchers.
- * @param {Object} parentWatcher The parent Watcher or null if top.
- */
-org.apache.flex.binding.ViewBaseDataBinding.prototype.setupWatchers =
-    function(gb, index, watchers, parentWatcher) {
-  var i, n;
-  n = watchers.length;
-  for (i = 0; i < n; i++)
-  {
-    var watcher = watchers[i];
-    var isValidWatcher = false;
-    if (typeof(watcher.bindings) === 'number')
-      isValidWatcher = (watcher.bindings == index);
-    else
-      isValidWatcher = (watcher.bindings.indexOf(index) != -1);
-    if (isValidWatcher) {
-      var type = watcher.type;
-      switch (type)
-      {
-        case 'property':
-          {
-            var pw = new org.apache.flex.binding.PropertyWatcher(
-                this,
-                watcher.propertyName,
-                watcher.eventNames,
-                watcher.getterFunction);
-            watcher.watcher = pw;
-            if (parentWatcher)
-              pw.parentChanged(parentWatcher.value);
-            else
-              pw.parentChanged(this.strand_);
-            if (parentWatcher)
-              parentWatcher.addChild(pw);
-            if (watcher.children == null)
-              pw.addBinding(gb);
-            break;
-          }
-      }
-      if (watcher.children)
-      {
-        this.setupWatchers(gb, index, watcher.children.watchers,
-            watcher.watcher);
-      }
-    }
-  }
-};
-
-
-/**
- * @protected
- * @param {Object} bindingData The watcher data to decode.
- * @return {Object} The watcher tree structure.
- */
-org.apache.flex.binding.ViewBaseDataBinding.prototype.decodeWatcher =
-    function(bindingData) {
-  var watcherMap = {};
-  var watchers = [];
-  var n = bindingData.length - 1; // there is an extra null because
-  // it is easier for the compiler
-  var index = 0;
-  var watcherData;
-  while (index < n)
-  {
-    var watcherIndex = bindingData[index++];
-    var type = bindingData[index++];
-    switch (type)
-    {
-      case 0:
-        {
-          watcherData = { type: 'function' };
-          watcherData.functionName = bindingData[index++];
-          watcherData.paramFunction = bindingData[index++];
-          watcherData.eventNames = bindingData[index++];
-          watcherData.bindings = bindingData[index++];
-          break;
-        }
-      case 1:
-        {
-          watcherData = { type: 'static' };
-          watcherData.propertyName = bindingData[index++];
-          watcherData.eventNames = bindingData[index++];
-          watcherData.bindings = bindingData[index++];
-          watcherData.getterFunction = bindingData[index++];
-          watcherData.parentObj = bindingData[index++];
-          watcherMap[watcherData.propertyName] = watcherData;
-          break;
-        }
-      case 2:
-        {
-          watcherData = { type: 'property' };
-          watcherData.propertyName = bindingData[index++];
-          watcherData.eventNames = bindingData[index++];
-          watcherData.bindings = bindingData[index++];
-          watcherData.getterFunction = bindingData[index++];
-          watcherMap[watcherData.propertyName] = watcherData;
-          break;
-        }
-      case 3:
-        {
-          watcherData = { type: 'xml' };
-          watcherData.propertyName = bindingData[index++];
-          watcherData.bindings = bindingData[index++];
-          watcherMap[watcherData.propertyName] = watcherData;
-          break;
-        }
-    }
-    watcherData.children = bindingData[index++];
-    if (watcherData.children != null)
-    {
-      watcherData.children = this.decodeWatcher(watcherData.children);
-    }
-    watcherData.index = watcherIndex;
-    watchers.push(watcherData);
-  }
-  return { watchers: watchers, watcherMap: watcherMap };
-};
-
-
-/**
- * @protected
- * @param {org.apache.flex.events.ValueChangeEvent} event The event.
- */
-org.apache.flex.binding.ViewBaseDataBinding.prototype.deferredBindingsHandler =
-    function(event) {
-  var p;
-  var destination;
-  for (p in this.deferredBindings)
-  {
-    if (p != event.propertyName) continue;
-    destination = this.strand_[p];
-    destination.addBead(this.deferredBindings[p]);
-    delete this.deferredBindings[p];
-  }
-};
-

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Binding/js/src/org/apache/flex/binding/WatcherBase.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Binding/js/src/org/apache/flex/binding/WatcherBase.js b/frameworks/projects/Binding/js/src/org/apache/flex/binding/WatcherBase.js
deleted file mode 100644
index 29e87b9..0000000
--- a/frameworks/projects/Binding/js/src/org/apache/flex/binding/WatcherBase.js
+++ /dev/null
@@ -1,246 +0,0 @@
-/**
- * Licensed under the Apache License, Version 2.0 (the 'License');
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an 'AS IS' BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-goog.provide('org.apache.flex.binding.WatcherBase');
-
-
-
-/**
- * @constructor
- */
-org.apache.flex.binding.WatcherBase = function() {
-
-  /**
-     * @protected
-     * @type {Object}
-     */
-  this.listeners = null;
-
-  /**
-     * @protected
-     * @type {Object}
-     * Children of this watcher are watching sub values.
-     */
-  this.children = null;
-
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.binding.WatcherBase.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'WatcherBase',
-                qName: 'org.apache.flex.binding.WatcherBase'}] };
-
-
-/**
- *  @export
- *  @type {Object|number|string|boolean}
- *  The value itself.
- */
-org.apache.flex.binding.WatcherBase.prototype.value = null;
-
-
-/**
- *  @export
- *  This is an abstract method that subclasses implement.
- *  @this {org.apache.flex.binding.WatcherBase}
- *  @param {Object} parent The new parent.
- */
-org.apache.flex.binding.WatcherBase.prototype.parentChanged =
-    function(parent) {
-};
-
-
-/**
- *  @export
- *  Add a child to this watcher, meaning that the child
- *  is watching a sub value of ours.
- *  @this {org.apache.flex.binding.WatcherBase}
- *  @param {Object} child The new child.
- */
-org.apache.flex.binding.WatcherBase.prototype.addChild =
-    function(child) {
-  if (!this.children)
-    this.children = [child];
-  else
-    this.children.push(child);
-
-  child.parentChanged(this.value);
-};
-
-
-/**
- *  @export
- *  Add a binding to this watcher, meaning that the binding
- *  is notified when our value changes.
- *  @this {org.apache.flex.binding.WatcherBase}
- *  @param {Object} binding The new binding.
- */
-org.apache.flex.binding.WatcherBase.prototype.addBinding =
-    function(binding) {
-  if (!this.listeners)
-    this.listeners = [binding];
-  else
-    this.listeners.push(binding);
-
-  binding.valueChanged(this.value);
-};
-
-
-/**
- *  @export
- *  @this {org.apache.flex.binding.WatcherBase}
- *  We have probably changed, so go through
- *  and make sure our children are updated.
- */
-org.apache.flex.binding.WatcherBase.prototype.updateChildren = function() {
-  if (this.children)
-  {
-    var n = this.children.length;
-    for (var i = 0; i < n; ++i)
-    {
-      this.children[i].parentChanged(this);
-    }
-  }
-};
-
-
-/**
- *  @protected
- *  @this {org.apache.flex.binding.WatcherBase}
- *  @param {Object} oldValue The prior value.
- *  @return {boolean} True if value changed.
- */
-org.apache.flex.binding.WatcherBase.prototype.valueChanged =
-    function(oldValue) {
-
-  if (oldValue == null && this.value == null)
-    return false;
-
-  var valType = typeof(this.value);
-
-  // The first check is meant to catch the delayed instantiation case
-  // where a control comes into existence but its value is still
-  // the equivalent of not having been filled in.
-  // Otherwise we simply return whether the value has changed.
-
-  if (valType == 'string')
-  {
-    if (oldValue == null && this.value === '')
-      return false;
-    else
-      return oldValue != this.value;
-  }
-
-  if (valType == 'number')
-  {
-    if (oldValue == null && this.value === 0)
-      return false;
-    else
-      return oldValue != this.value;
-  }
-
-  if (valType == 'boolean')
-  {
-    if (oldValue == null && this.value === false)
-      return false;
-    else
-      return oldValue != this.value;
-  }
-
-  return true;
-};
-
-
-/**
- *  @protected
- *  @this {org.apache.flex.binding.WatcherBase}
- *  @param {function(?): ?} wrappedFunction The function to call.
- */
-org.apache.flex.binding.WatcherBase.prototype.wrapUpdate =
-    function(wrappedFunction) {
-  try
-  {
-    wrappedFunction.apply(this);
-  }
-  catch (error)
-  {
-    var staticClass = org.apache.flex.binding.WatcherBase;
-    var n = staticClass.allowedErrorTypes.length;
-    for (var i = 0; i < n; i++)
-    {
-      if (org.apache.flex.utils.Language.is(error, staticClass.allowedErrorTypes[i].type))
-      {
-        var handler = staticClass.allowedErrorTypes[i].handler;
-        if (handler != null)
-          this.value = handler(this, wrappedFunction);
-        else
-          this.value = null;
-      }
-    }
-
-    if (error.errorID && staticClass.allowedErrors.indexOf(error.errorID) == -1) {
-      throw error;
-    }
-  }
-};
-
-
-/**
- * Certain errors are normal when executing an update, so we swallow them:
- */
-org.apache.flex.binding.WatcherBase.allowedErrors = [
-  1006, //   Error #1006: Call attempted on an object
-  //                that is not a function.
-  1009, //   Error #1009: null has no properties.
-  1010, //   Error #1010: undefined has no properties.
-  1055, //   Error #1055: - has no properties.
-  1069, //   Error #1069: Property - not found on - and
-  //                there is no default value
-  1507 //   Error #1507: - invalid null argument.
-];
-
-
-/**
- * Certain types of errors are normal when executing an update,
- * so we custom handle them or swallow them:
- */
-org.apache.flex.binding.WatcherBase.allowedErrorTypes = [
-  { type: RangeError /*,
-              handler: function(w:WatcherBase,
-                    wrappedFunction:Function):Object { return null }*/
-  }
-];
-
-
-/**
- *  @protected
- *  @this {org.apache.flex.binding.WatcherBase}
- */
-org.apache.flex.binding.WatcherBase.prototype.notifyListeners = function()
-    {
-  if (this.listeners)
-  {
-    var n = this.listeners.length;
-
-    for (var i = 0; i < n; i++)
-    {
-      this.listeners[i].valueChanged(this.value);
-    }
-  }
-};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/ChartBase.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/ChartBase.js b/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/ChartBase.js
deleted file mode 100644
index acd4a8e..0000000
--- a/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/ChartBase.js
+++ /dev/null
@@ -1,87 +0,0 @@
-/**
- * Licensed under the Apache License, Version 2.0 (the 'License');
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an 'AS IS' BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- * org.apache.flex.charts.core.IChart
- *
- * @fileoverview
- *
- * @suppress {checkTypes}
- */
-
-goog.provide('org.apache.flex.charts.core.ChartBase');
-
-goog.require('org.apache.flex.charts.core.IChart');
-goog.require('org.apache.flex.events.Event');
-goog.require('org.apache.flex.events.IEventDispatcher');
-goog.require('org.apache.flex.html.List');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.html.List}
- * @implements {org.apache.flex.charts.core.IChart}
- */
-org.apache.flex.charts.core.ChartBase =
-    function() {
-  org.apache.flex.charts.core.ChartBase.base(this, 'constructor');
-  this.className = 'ChartBase';
-};
-goog.inherits(
-    org.apache.flex.charts.core.ChartBase,
-    org.apache.flex.html.List);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.charts.core.ChartBase.prototype.FLEXJS_CLASS_INFO = {
-    names: [{ name: 'ChartBase', qName: 'org.apache.flex.charts.core.ChartBase'}],
-    interfaces: [org.apache.flex.events.IEventDispatcher]
-  };
-
-
-/**
- * @override
- */
-org.apache.flex.charts.core.ChartBase.prototype.createElement = function() {
-    org.apache.flex.charts.core.ChartBase.base(this, 'createElement');
-    this.element.style.border = 'none';
-    this.element.style.overflow = 'visible';
-    return this.element;
-  };
-
-
-/**
- * @private
- * @type {Array}
- */
-org.apache.flex.charts.core.ChartBase.prototype.series_ = null;
-
-
-Object.defineProperties(org.apache.flex.charts.core.ChartBase.prototype, {
-    /** @export */
-    series: {
-        /** @this {org.apache.flex.charts.core.ChartBase} */
-        get: function() {
-             return this.series_;
-        },
-        /** @this {org.apache.flex.charts.core.ChartBase} */
-        set: function(value) {
-             this.series_ = value;
-             this.dispatchEvent(new org.apache.flex.events.Event('seriesChanged'));
-        }
-    }
-});

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/IAxisBead.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/IAxisBead.js b/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/IAxisBead.js
deleted file mode 100644
index cf7c7c9..0000000
--- a/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/IAxisBead.js
+++ /dev/null
@@ -1,61 +0,0 @@
-/**
- * Licensed under the Apache License, Version 2.0 (the 'License');
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an 'AS IS' BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- * org.apache.flex.charts.core.IAxisBead
- *
- * @fileoverview
- *
- * @suppress {checkTypes}
- */
-
-goog.provide('org.apache.flex.charts.core.IAxisBead');
-
-goog.require('org.apache.flex.core.IBead');
-
-
-
-/**
- * @interface
- * @extends {org.apache.flex.core.IBead}
- */
-org.apache.flex.charts.core.IAxisBead = function() {
-};
-
-Object.defineProperties(org.apache.flex.charts.core.IAxisBead.prototype, {
-    /** @export */
-    placement: {
-        get: function() {},
-        set: function(value) {}
-    },
-    /** @export */
-    axisStroke: {
-        get: function() {},
-        set: function(value) {}
-    },
-    /** @export */
-    tickStroke: {
-        get: function() {},
-        set: function(value) {}
-    }
-});
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.charts.core.IAxisBead.prototype.FLEXJS_CLASS_INFO = {
-    names: [{ name: 'IAxisBead', qName: 'org.apache.flex.charts.core.IAxisBead'}],
-    interfaces: [org.apache.flex.core.IBead]
-  };

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/IAxisGroup.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/IAxisGroup.js b/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/IAxisGroup.js
deleted file mode 100644
index f0a5348..0000000
--- a/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/IAxisGroup.js
+++ /dev/null
@@ -1,45 +0,0 @@
-/**
- * Licensed under the Apache License, Version 2.0 (the 'License');
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an 'AS IS' BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- * org.apache.flex.charts.core.IAxisGroup
- *
- * @fileoverview
- *
- * @suppress {checkTypes}
- */
-
-goog.provide('org.apache.flex.charts.core.IAxisGroup');
-
-
-
-/**
- * @interface
- */
-org.apache.flex.charts.core.IAxisGroup = function() {
-};
-
-
-/**
- * @return {void}
- */
-org.apache.flex.charts.core.IAxisGroup.prototype.removeAllElements = function() {};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.charts.core.IAxisGroup.prototype.FLEXJS_CLASS_INFO = {
-    names: [{ name: 'IAxisGroup', qName: 'org.apache.flex.charts.core.IAxisGroup'}]
-  };

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/ICartesianChartLayout.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/ICartesianChartLayout.js b/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/ICartesianChartLayout.js
deleted file mode 100644
index 09078a8..0000000
--- a/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/ICartesianChartLayout.js
+++ /dev/null
@@ -1,39 +0,0 @@
-/**
- * Licensed under the Apache License, Version 2.0 (the 'License');
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an 'AS IS' BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- * org.apache.flex.charts.core.IChart
- *
- * @fileoverview
- *
- * @suppress {checkTypes}
- */
-
-goog.provide('org.apache.flex.charts.core.ICartesianChartLayout');
-
-
-
-/**
- * @interface
- */
-org.apache.flex.charts.core.ICartesianChartLayout = function() {
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.charts.core.ICartesianChartLayout.prototype.FLEXJS_CLASS_INFO = {
-    names: [{ name: 'ICartesianChartLayout', qName: 'org.apache.flex.charts.core.ICartesianChartLayout'}]
-  };

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/IChart.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/IChart.js b/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/IChart.js
deleted file mode 100644
index fd214cc..0000000
--- a/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/IChart.js
+++ /dev/null
@@ -1,48 +0,0 @@
-/**
- * Licensed under the Apache License, Version 2.0 (the 'License');
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an 'AS IS' BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- * org.apache.flex.charts.core.IChart
- *
- * @fileoverview
- *
- * @suppress {checkTypes}
- */
-
-goog.provide('org.apache.flex.charts.core.IChart');
-
-
-
-/**
- * @interface
- */
-org.apache.flex.charts.core.IChart = function() {
-};
-
-
-Object.defineProperties(org.apache.flex.charts.core.IChart.prototype, {
-    /** @export */
-    series: {
-        get: function() {},
-        set: function(value) {}
-    }
-});
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.charts.core.IChart.prototype.FLEXJS_CLASS_INFO = {
-    names: [{ name: 'IChart', qName: 'org.apache.flex.charts.core.IChart'}]
-  };

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/IChartAxis.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/IChartAxis.js b/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/IChartAxis.js
deleted file mode 100644
index bc572c1..0000000
--- a/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/IChartAxis.js
+++ /dev/null
@@ -1,39 +0,0 @@
-/**
- * Licensed under the Apache License, Version 2.0 (the 'License');
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an 'AS IS' BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- * org.apache.flex.charts.core.IChartAxis
- *
- * @fileoverview
- *
- * @suppress {checkTypes}
- */
-
-goog.provide('org.apache.flex.charts.core.IChartAxis');
-
-
-
-/**
- * @interface
- */
-org.apache.flex.charts.core.IChartAxis = function() {
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.charts.core.IChartAxis.prototype.FLEXJS_CLASS_INFO = {
-    names: [{ name: 'IChartAxis', qName: 'org.apache.flex.charts.core.IChartAxis'}]
-  };

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/IChartDataGroup.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/IChartDataGroup.js b/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/IChartDataGroup.js
deleted file mode 100644
index 923ece8..0000000
--- a/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/IChartDataGroup.js
+++ /dev/null
@@ -1,53 +0,0 @@
-/**
- * Licensed under the Apache License, Version 2.0 (the 'License');
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an 'AS IS' BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- * org.apache.flex.charts.core.IChartDataGroup
- *
- * @fileoverview
- *
- * @suppress {checkTypes}
- */
-
-goog.provide('org.apache.flex.charts.core.IChartDataGroup');
-
-goog.require('org.apache.flex.core.IFactory');
-goog.require('org.apache.flex.core.IItemRendererParent');
-
-
-
-/**
- * @interface
- * @extends {org.apache.flex.core.IItemRendererParent}
- */
-org.apache.flex.charts.core.IChartDataGroup = function() {
-};
-
-
-/**
- * @param {Object} series The series containing the itemRenderer.
- * @param {number} index The position of the itemRenderer within the series.
- * @return {Object} The itemRenderer matching the series and index.
- */
-org.apache.flex.charts.core.IChartDataGroup.prototype.getItemRendererForSeriesAtIndex =
-  function(series, index) {};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.charts.core.IChartDataGroup.prototype.FLEXJS_CLASS_INFO = {
-    names: [{ name: 'IChartDataGroup', qName: 'org.apache.flex.charts.core.IChartDataGroup'}],
-    interfaces: [org.apache.flex.core.IItemRendererParent]
-  };

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/IChartItemRenderer.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/IChartItemRenderer.js b/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/IChartItemRenderer.js
deleted file mode 100644
index 3b46060..0000000
--- a/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/IChartItemRenderer.js
+++ /dev/null
@@ -1,78 +0,0 @@
-/**
- * Licensed under the Apache License, Version 2.0 (the 'License');
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an 'AS IS' BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- * org.apache.flex.charts.core.IChartItemRenderer
- *
- * @fileoverview
- *
- * @suppress {checkTypes}
- */
-
-goog.provide('org.apache.flex.charts.core.IChartItemRenderer');
-
-goog.require('org.apache.flex.core.IItemRenderer');
-
-
-
-/**
- * @interface
- * @extends {org.apache.flex.core.IItemRenderer}
- */
-org.apache.flex.charts.core.IChartItemRenderer = function() {
-};
-
-
-Object.defineProperties(org.apache.flex.charts.core.IChartItemRenderer.prototype, {
-    /** @export */
-    xField: {
-        get: function() {},
-        set: function(value) {}
-    },
-    /** @export */
-    yField: {
-        get: function() {},
-        set: function(value) {}
-    },
-    /** @export */
-    fillColor: {
-        get: function() {},
-        set: function(value) {}
-    },
-    /** @export */
-    x: {
-        set: function(value) {}
-    },
-    /** @export */
-    y: {
-        set: function(value) {}
-    },
-    /** @export */
-    width: {
-        set: function(value) {}
-    },
-    /** @export */
-    height: {
-        set: function(value) {}
-    }
-});
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.charts.core.IChartItemRenderer.prototype.FLEXJS_CLASS_INFO = {
-    names: [{ name: 'IChartItemRenderer', qName: 'org.apache.flex.charts.core.IChartItemRenderer'}],
-    interfaces: [org.apache.flex.core.IItemRenderer]
-  };

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/IChartSeries.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/IChartSeries.js b/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/IChartSeries.js
deleted file mode 100644
index 057e255..0000000
--- a/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/IChartSeries.js
+++ /dev/null
@@ -1,65 +0,0 @@
-/**
- * Licensed under the Apache License, Version 2.0 (the 'License');
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an 'AS IS' BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- * org.apache.flex.charts.core.IChartSeries
- *
- * @fileoverview
- *
- * @suppress {checkTypes}
- */
-
-goog.provide('org.apache.flex.charts.core.IChartSeries');
-
-goog.require('org.apache.flex.core.IFactory');
-
-
-
-/**
- * @interface
- */
-org.apache.flex.charts.core.IChartSeries = function() {
-};
-
-
-Object.defineProperties(org.apache.flex.charts.core.IChartSeries.prototype, {
-    /** @export */
-    xField: {
-        get: function() {},
-        set: function(value) {}
-    },
-    /** @export */
-    yField: {
-        get: function() {},
-        set: function(value) {}
-    },
-    /** @export */
-    fillColor: {
-        get: function() {},
-        set: function(value) {}
-    },
-    /** @export */
-    itemRenderer: {
-        get: function() {},
-        set: function(value) {}
-    }
-});
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.charts.core.IChartSeries.prototype.FLEXJS_CLASS_INFO = {
-    names: [{ name: 'IChartSeries', qName: 'org.apache.flex.charts.core.IChartSeries'}]
-  };

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/IHorizontalAxisBead.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/IHorizontalAxisBead.js b/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/IHorizontalAxisBead.js
deleted file mode 100644
index b72c408..0000000
--- a/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/IHorizontalAxisBead.js
+++ /dev/null
@@ -1,60 +0,0 @@
-/**
- * Licensed under the Apache License, Version 2.0 (the 'License');
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an 'AS IS' BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- * org.apache.flex.charts.core.IHorizontalAxisBead
- *
- * @fileoverview
- *
- * @suppress {checkTypes}
- */
-
-goog.provide('org.apache.flex.charts.core.IHorizontalAxisBead');
-
-goog.require('org.apache.flex.charts.core.IAxisBead');
-
-
-
-/**
- * @interface
- * @extends {org.apache.flex.charts.core.IAxisBead}
- */
-org.apache.flex.charts.core.IHorizontalAxisBead = function() {
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.charts.core.IHorizontalAxisBead.prototype.FLEXJS_CLASS_INFO = {
-    names: [{ name: 'IHorizontalAxisBead', qName: 'org.apache.flex.charts.core.IHorizontalAxisBead'}],
-    interfaces: [org.apache.flex.charts.core.IAxisBead]
-  };
-
-
-Object.defineProperties(org.apache.flex.charts.core.IHorizontalAxisBead.prototype, {
-    /** @export */
-    axisHeight: {
-        set: function(value) {},
-        get: function() {}
-    },
-    /** @export */
-    maximum: {
-        get: function() {}
-    },
-    /** @export */
-    minimum: {
-        get: function() {}
-    }
-});

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/IVerticalAxisBead.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/IVerticalAxisBead.js b/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/IVerticalAxisBead.js
deleted file mode 100644
index 3e084eb..0000000
--- a/frameworks/projects/Charts/js/src/org/apache/flex/charts/core/IVerticalAxisBead.js
+++ /dev/null
@@ -1,59 +0,0 @@
-/**
- * Licensed under the Apache License, Version 2.0 (the 'License');
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an 'AS IS' BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- * org.apache.flex.charts.core.IVerticalAxisBead
- *
- * @fileoverview
- *
- * @suppress {checkTypes}
- */
-
-goog.provide('org.apache.flex.charts.core.IVerticalAxisBead');
-
-goog.require('org.apache.flex.charts.core.IAxisBead');
-
-
-
-/**
- * @interface
- * @extends {org.apache.flex.charts.core.IAxisBead}
- */
-org.apache.flex.charts.core.IVerticalAxisBead = function() {
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.charts.core.IVerticalAxisBead.prototype.FLEXJS_CLASS_INFO = {
-    names: [{ name: 'IVerticalAxisBead', qName: 'org.apache.flex.charts.core.IVerticalAxisBead'}],
-    interfaces: [org.apache.flex.charts.core.IAxisBead]
-  };
-
-Object.defineProperties(org.apache.flex.charts.core.IVerticalAxisBead.prototype, {
-    /** @export */
-    axisWidth: {
-        set: function(value) {},
-        get: function() {}
-    },
-    /** @export */
-    maximum: {
-        get: function() {}
-    },
-    /** @export */
-    minimum: {
-        get: function() {}
-    }
-});

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Charts/js/src/org/apache/flex/charts/supportClasses/ChartAxisGroup.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Charts/js/src/org/apache/flex/charts/supportClasses/ChartAxisGroup.js b/frameworks/projects/Charts/js/src/org/apache/flex/charts/supportClasses/ChartAxisGroup.js
deleted file mode 100644
index 9f36a65..0000000
--- a/frameworks/projects/Charts/js/src/org/apache/flex/charts/supportClasses/ChartAxisGroup.js
+++ /dev/null
@@ -1,162 +0,0 @@
-/**
- * Licensed under the Apache License, Version 2.0 (the 'License');
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an 'AS IS' BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-goog.provide('org.apache.flex.charts.supportClasses.ChartAxisGroup');
-
-goog.require('org.apache.flex.charts.core.IAxisGroup');
-goog.require('org.apache.flex.core.UIBase');
-goog.require('org.apache.flex.core.graphics.Path');
-goog.require('org.apache.flex.html.Label');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.core.UIBase}
- * @implements {org.apache.flex.charts.core.IAxisGroup}
- */
-org.apache.flex.charts.supportClasses.ChartAxisGroup =
-    function() {
-  org.apache.flex.charts.supportClasses.ChartAxisGroup.base(this, 'constructor');
-};
-goog.inherits(
-    org.apache.flex.charts.supportClasses.ChartAxisGroup,
-    org.apache.flex.core.UIBase);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.charts.supportClasses.ChartAxisGroup.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'ChartAxisGroup',
-                qName: 'org.apache.flex.charts.supportClasses.ChartAxisGroup' }],
-      interfaces: [org.apache.flex.charts.core.IAxisGroup] };
-
-
-/**
- * @override
- */
-org.apache.flex.charts.supportClasses.ChartAxisGroup.
-    prototype.createElement = function() {
-  this.element = document.createElement('div');
-  this.element.style.position = 'relative';
-  this.element.flexjs_wrapper = this;
-  this.className = 'ChartAxisGroup';
-
-  this.positioner = this.element;
-
-  return this.element;
-};
-
-
-/**
- * @export
- * @param {string} text The label to display.
- * @param {number} xpos The x position of the label.
- * @param {number} ypos The y position of the label.
- * @param {number} boxWidth The size of the area for the label.
- * @param {number} boxHeight The size of the area for the label.
- * @param {org.apache.flex.core.graphics.IStroke} tickFill The color of the path.
- * @return {Object} The label.
- */
-org.apache.flex.charts.supportClasses.ChartAxisGroup.prototype.drawHorizontalTickLabel =
-function(text, xpos, ypos, boxWidth, boxHeight, tickFill) {
-  var label = new org.apache.flex.html.Label();
-  this.addElement(label);
-  label.text = text;
-  label.x = xpos - label.width / 2;
-  label.y = ypos;
-  return label;
-};
-
-
-/**
- * @export
- * @param {string} text The label to display.
- * @param {number} xpos The x position of the label.
- * @param {number} ypos The y position of the label.
- * @param {number} boxWidth The size of the area for the label.
- * @param {number} boxHeight The size of the area for the label.
- * @param {org.apache.flex.core.graphics.IStroke} tickFill The color of the path.
- * @return {Object} The label.
- */
-org.apache.flex.charts.supportClasses.ChartAxisGroup.prototype.drawVerticalTickLabel =
-function(text, xpos, ypos, boxWidth, boxHeight, tickFill) {
-  var label = new org.apache.flex.html.Label();
-  this.addElement(label);
-  label.text = text;
-  label.x = xpos;
-  label.y = ypos - label.height / 2;
-  return label;
-};
-
-
-/**
- * @export
- * @param {number} originX The x position of the path.
- * @param {number} originY The y position of the path.
- * @param {number} width The size of the area for the path.
- * @param {number} height The size of the area for the path.
- * @param {string} marks The path to draw.
- * @param {org.apache.flex.core.graphics.IStroke} tickStroke The color of the path.
- * @return {Object} The tick path.
- */
-org.apache.flex.charts.supportClasses.ChartAxisGroup.prototype.drawTickMarks =
-function(originX, originY, width, height, marks, tickStroke) {
-  var tickPath = new org.apache.flex.core.graphics.Path();
-  tickPath.x = 0;
-  tickPath.y = 0;
-  tickPath.width = this.width;
-  tickPath.height = this.height;
-  this.addElement(tickPath);
-  tickPath.stroke = tickStroke;
-  tickPath.drawPath(0, 0, marks);
-  return tickPath;
-};
-
-
-/**
- * @export
- * @param {number} originX The x position of the path.
- * @param {number} originY The y position of the path.
- * @param {number} width The size of the area for the path.
- * @param {number} height The size of the area for the path.
- * @param {org.apache.flex.core.graphics.IStroke} lineStroke The color of the path.
- */
-org.apache.flex.charts.supportClasses.ChartAxisGroup.prototype.drawAxisLine =
-function(originX, originY, width, height, lineStroke) {
-  var axisPath = new org.apache.flex.core.graphics.Path();
-  axisPath.x = 0;
-  axisPath.y = 0;
-  axisPath.width = this.width;
-  axisPath.height = this.height;
-  this.addElement(axisPath);
-  axisPath.stroke = lineStroke;
-  var pathLine = 'M ' + String(originX) + ' ' + String(originY) + ' l ' + String(width) + ' ' + String(height);
-  axisPath.drawPath(0, 0, pathLine);
-};
-
-
-/**
- * @return {void}
- */
-org.apache.flex.charts.supportClasses.ChartAxisGroup.prototype.removeAllElements =
-function() {
-  var svg = this.element;
-  while (svg.lastChild) {
-    svg.removeChild(svg.lastChild);
-  }
-};

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d4cace4a/frameworks/projects/Charts/js/src/org/apache/flex/charts/supportClasses/ChartDataGroup.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Charts/js/src/org/apache/flex/charts/supportClasses/ChartDataGroup.js b/frameworks/projects/Charts/js/src/org/apache/flex/charts/supportClasses/ChartDataGroup.js
deleted file mode 100644
index 2dd637c..0000000
--- a/frameworks/projects/Charts/js/src/org/apache/flex/charts/supportClasses/ChartDataGroup.js
+++ /dev/null
@@ -1,83 +0,0 @@
-/**
- * Licensed under the Apache License, Version 2.0 (the 'License');
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an 'AS IS' BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-goog.provide('org.apache.flex.charts.supportClasses.ChartDataGroup');
-
-goog.require('org.apache.flex.charts.core.IChartDataGroup');
-goog.require('org.apache.flex.html.supportClasses.DataGroup');
-
-
-
-/**
- * @constructor
- * @extends {org.apache.flex.html.supportClasses.DataGroup}
- * @implements {org.apache.flex.charts.core.IChartDataGroup}
- */
-org.apache.flex.charts.supportClasses.ChartDataGroup =
-    function() {
-  org.apache.flex.charts.supportClasses.ChartDataGroup.base(this, 'constructor');
-};
-goog.inherits(
-    org.apache.flex.charts.supportClasses.ChartDataGroup,
-    org.apache.flex.html.supportClasses.DataGroup);
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org.apache.flex.charts.supportClasses.ChartDataGroup.prototype.FLEXJS_CLASS_INFO =
-    { names: [{ name: 'ChartDataGroup',
-                qName: 'org.apache.flex.charts.supportClasses.ChartDataGroup' }],
-      interfaces: [org.apache.flex.charts.core.IChartDataGroup] };
-
-
-/**
- * @override
- */
-org.apache.flex.charts.supportClasses.ChartDataGroup.
-    prototype.createElement = function() {
-  this.element = document.createElement('div');
-  this.element.style.position = 'relative';
-  this.element.flexjs_wrapper = this;
-  this.className = 'ChartDataGroup';
-
-  this.positioner = this.element;
-
-  return this.element;
-};
-
-
-/**
- * @export
- * @param {Object} series The series containing the itemRenderer.
- * @param {number} index The position of the itemRenderer within the series.
- * @return {Object} The itemRenderer that matches the series and index.
- */
-org.apache.flex.charts.supportClasses.ChartDataGroup.prototype.getItemRendererForSeriesAtIndex =
-function(series, index) {
-  var n = this.numElements;
-  for (var i = 0; i < n; i++)
-  {
-    var child = this.getElementAt(i);
-    if (child && child.series == series) {
-      if (index === 0) return child;
-      --index;
-    }
-  }
-
-  return null;
-};
-


Mime
View raw message