You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2015/04/15 23:43:40 UTC
[35/55] [abbrv] git commit: [flex-asjs] [refs/heads/develop] - move
handwritten JS code to final home. Build scripts still need fixing up
move handwritten JS code to final home. Build scripts still need fixing up
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/b677c658
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/b677c658
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/b677c658
Branch: refs/heads/develop
Commit: b677c65891b9a056295005c9de5ee512a2ed052f
Parents: 72b21f6
Author: Alex Harui <ah...@apache.org>
Authored: Fri Apr 10 23:53:50 2015 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Fri Apr 10 23:53:50 2015 -0700
----------------------------------------------------------------------
frameworks/js/FlexJS/src/createjs_externals.js | 20 -
.../js/FlexJS/src/flash/display/Sprite.js | 40 -
frameworks/js/FlexJS/src/jquery_externals.js | 20 -
.../js/FlexJS/src/mx/core/ClassFactory.js | 64 --
frameworks/js/FlexJS/src/mx/core/IFactory.js | 45 --
frameworks/js/FlexJS/src/mx/states/AddItems.js | 129 ----
.../js/FlexJS/src/mx/states/SetEventHandler.js | 91 ---
.../js/FlexJS/src/mx/states/SetProperty.js | 98 ---
frameworks/js/FlexJS/src/mx/states/State.js | 49 --
.../src/org/apache/cordova/Application.js | 61 --
.../js/FlexJS/src/org/apache/cordova/Weinre.js | 67 --
.../src/org/apache/cordova/camera/Camera.js | 136 ----
.../src/org/apache/flex/binding/BindingBase.js | 121 ---
.../src/org/apache/flex/binding/ChainBinding.js | 207 ------
.../org/apache/flex/binding/ConstantBinding.js | 58 --
.../org/apache/flex/binding/GenericBinding.js | 172 -----
.../org/apache/flex/binding/PropertyWatcher.js | 195 -----
.../org/apache/flex/binding/SimpleBinding.js | 91 ---
.../src/org/apache/flex/binding/WatcherBase.js | 246 ------
.../org/apache/flex/charts/core/ChartBase.js | 85 ---
.../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 | 155 ----
.../charts/supportClasses/ChartDataGroup.js | 82 --
.../src/org/apache/flex/core/Application.js | 128 ----
.../src/org/apache/flex/core/BeadViewBase.js | 72 --
.../src/org/apache/flex/core/CallLaterBead.js | 93 ---
.../src/org/apache/flex/core/ContainerBase.js | 187 -----
.../src/org/apache/flex/core/DataBindingBase.js | 34 -
.../src/org/apache/flex/core/FilledRectangle.js | 86 ---
.../src/org/apache/flex/core/FormatBase.js | 126 ----
.../org/apache/flex/core/HTMLElementWrapper.js | 177 -----
.../js/FlexJS/src/org/apache/flex/core/IBead.js | 49 --
.../src/org/apache/flex/core/IBeadController.js | 42 --
.../src/org/apache/flex/core/IBeadLayout.js | 42 --
.../src/org/apache/flex/core/IBeadModel.js | 45 --
.../src/org/apache/flex/core/IBeadView.js | 38 -
.../FlexJS/src/org/apache/flex/core/IChild.js | 49 --
.../FlexJS/src/org/apache/flex/core/IChrome.js | 31 -
.../src/org/apache/flex/core/IContainer.js | 58 --
.../src/org/apache/flex/core/IContentView.js | 79 --
.../src/org/apache/flex/core/IDataGridModel.js | 41 -
.../core/IDataProviderItemRendererMapper.js | 53 --
.../src/org/apache/flex/core/IDocument.js | 51 --
.../src/org/apache/flex/core/IEffectTimer.js | 45 --
.../src/org/apache/flex/core/IFormatBead.js | 59 --
.../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 | 47 --
.../src/org/apache/flex/core/ILayoutChild.js | 42 --
.../src/org/apache/flex/core/ILayoutParent.js | 59 --
.../apache/flex/core/IListPresentationModel.js | 54 --
.../src/org/apache/flex/core/IMXMLDocument.js | 41 -
.../org/apache/flex/core/IMeasurementBead.js | 38 -
.../FlexJS/src/org/apache/flex/core/IParent.js | 67 --
.../src/org/apache/flex/core/IParentIUIBase.js | 46 --
.../src/org/apache/flex/core/IPopUpHost.js | 45 --
.../apache/flex/core/ISelectableItemRenderer.js | 74 --
.../src/org/apache/flex/core/ISelectionModel.js | 64 --
.../src/org/apache/flex/core/IStatesImpl.js | 47 --
.../FlexJS/src/org/apache/flex/core/IStrand.js | 70 --
.../org/apache/flex/core/IStyleableObject.js | 46 --
.../src/org/apache/flex/core/ITextModel.js | 54 --
.../FlexJS/src/org/apache/flex/core/IUIBase.js | 40 -
.../src/org/apache/flex/core/IValuesImpl.js | 73 --
.../flex/core/ItemRendererClassFactory.js | 99 ---
.../FlexJS/src/org/apache/flex/core/ListBase.js | 111 ---
.../org/apache/flex/core/SimpleCSSValuesImpl.js | 321 --------
.../org/apache/flex/core/SimpleStatesImpl.js | 219 ------
.../org/apache/flex/core/SimpleValuesImpl.js | 33 -
.../FlexJS/src/org/apache/flex/core/UIBase.js | 744 -------------------
.../src/org/apache/flex/core/UIMetrics.js | 51 --
.../src/org/apache/flex/core/ValuesManager.js | 57 --
.../FlexJS/src/org/apache/flex/core/ViewBase.js | 221 ------
.../org/apache/flex/core/ViewBaseDataBinding.js | 345 ---------
.../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 | 204 -----
.../flex/core/graphics/GraphicsContainer.js | 232 ------
.../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 --
.../src/org/apache/flex/createjs/Application.js | 121 ---
.../src/org/apache/flex/createjs/CheckBox.js | 130 ----
.../src/org/apache/flex/createjs/Label.js | 63 --
.../src/org/apache/flex/createjs/TextButton.js | 90 ---
.../src/org/apache/flex/createjs/core/UIBase.js | 135 ----
.../org/apache/flex/createjs/core/ViewBase.js | 76 --
.../org/apache/flex/effects/PlatformWiper.js | 85 ---
.../src/org/apache/flex/events/BrowserEvent.js | 152 ----
.../src/org/apache/flex/events/CustomEvent.js | 58 --
.../src/org/apache/flex/events/DragEvent.js | 146 ----
.../src/org/apache/flex/events/ElementEvents.js | 47 --
.../FlexJS/src/org/apache/flex/events/Event.js | 71 --
.../org/apache/flex/events/EventDispatcher.js | 71 --
.../org/apache/flex/events/IEventDispatcher.js | 40 -
.../src/org/apache/flex/events/MouseEvent.js | 186 -----
.../org/apache/flex/events/ValueChangeEvent.js | 119 ---
.../src/org/apache/flex/events/ValueEvent.js | 69 --
.../org/apache/flex/events/utils/MouseUtils.js | 62 --
.../js/FlexJS/src/org/apache/flex/geom/Point.js | 56 --
.../src/org/apache/flex/geom/Rectangle.js | 78 --
.../js/FlexJS/src/org/apache/flex/html/Alert.js | 193 -----
.../FlexJS/src/org/apache/flex/html/Button.js | 60 --
.../src/org/apache/flex/html/ButtonBar.js | 87 ---
.../FlexJS/src/org/apache/flex/html/CheckBox.js | 87 ---
.../src/org/apache/flex/html/CloseButton.js | 55 --
.../FlexJS/src/org/apache/flex/html/ComboBox.js | 195 -----
.../src/org/apache/flex/html/Container.js | 108 ---
.../src/org/apache/flex/html/ControlBar.js | 58 --
.../src/org/apache/flex/html/DropDownList.js | 124 ----
.../src/org/apache/flex/html/HContainer.js | 42 --
.../js/FlexJS/src/org/apache/flex/html/HRule.js | 44 --
.../js/FlexJS/src/org/apache/flex/html/Image.js | 79 --
.../org/apache/flex/html/ImageAndTextButton.js | 102 ---
.../js/FlexJS/src/org/apache/flex/html/Label.js | 69 --
.../js/FlexJS/src/org/apache/flex/html/List.js | 177 -----
.../src/org/apache/flex/html/MultilineLabel.js | 69 --
.../src/org/apache/flex/html/NumericStepper.js | 161 ----
.../js/FlexJS/src/org/apache/flex/html/Panel.js | 180 -----
.../src/org/apache/flex/html/RadioButton.js | 176 -----
.../src/org/apache/flex/html/SimpleAlert.js | 51 --
.../src/org/apache/flex/html/SimpleList.js | 110 ---
.../FlexJS/src/org/apache/flex/html/Slider.js | 172 -----
.../FlexJS/src/org/apache/flex/html/Spacer.js | 44 --
.../FlexJS/src/org/apache/flex/html/Spinner.js | 170 -----
.../FlexJS/src/org/apache/flex/html/TextArea.js | 68 --
.../src/org/apache/flex/html/TextButton.js | 54 --
.../src/org/apache/flex/html/TextInput.js | 95 ---
.../FlexJS/src/org/apache/flex/html/TitleBar.js | 86 ---
.../org/apache/flex/html/ToggleTextButton.js | 92 ---
.../FlexJS/src/org/apache/flex/html/ToolTip.js | 40 -
.../src/org/apache/flex/html/VContainer.js | 42 --
.../accessories/NumericOnlyTextInputBead.js | 92 ---
.../flex/html/accessories/PasswordInputBead.js | 54 --
.../flex/html/accessories/TextPromptBead.js | 64 --
.../org/apache/flex/html/beads/ButtonBarView.js | 57 --
.../org/apache/flex/html/beads/ContainerView.js | 64 --
.../DataItemRendererFactoryForArrayData.js | 137 ----
.../src/org/apache/flex/html/beads/IListView.js | 43 --
.../apache/flex/html/beads/ImageButtonView.js | 45 --
.../src/org/apache/flex/html/beads/ImageView.js | 63 --
.../src/org/apache/flex/html/beads/ListView.js | 177 -----
.../src/org/apache/flex/html/beads/PanelView.js | 129 ----
.../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 | 94 ---
.../controllers/ItemRendererMouseController.js | 119 ---
.../ListSingleSelectionMouseController.js | 75 --
.../beads/controllers/SliderMouseController.js | 172 -----
.../beads/controllers/SpinnerMouseController.js | 85 ---
.../flex/html/beads/layouts/ButtonBarLayout.js | 118 ---
.../html/beads/layouts/NonVirtualBasicLayout.js | 134 ----
.../layouts/NonVirtualBasicScrollingLayout.js | 99 ---
.../beads/layouts/NonVirtualHorizontalLayout.js | 116 ---
.../beads/layouts/NonVirtualVerticalLayout.js | 114 ---
.../NonVirtualVerticalScrollingLayout.js | 52 --
.../flex/html/beads/layouts/TileLayout.js | 141 ----
.../html/beads/models/ArraySelectionModel.js | 125 ----
.../flex/html/beads/models/DataGridModel.js | 72 --
.../apache/flex/html/beads/models/ImageModel.js | 66 --
.../html/beads/models/ListPresentationModel.js | 75 --
.../apache/flex/html/beads/models/PanelModel.js | 109 ---
.../apache/flex/html/beads/models/RangeModel.js | 158 ----
.../apache/flex/html/beads/models/TextModel.js | 68 --
.../flex/html/beads/models/TitleBarModel.js | 112 ---
.../ButtonBarButtonItemRenderer.js | 104 ---
.../flex/html/supportClasses/DataGridColumn.js | 75 --
.../html/supportClasses/DataItemRenderer.js | 132 ----
.../html/supportClasses/NonVirtualDataGroup.js | 134 ----
.../html/supportClasses/StringItemRenderer.js | 139 ----
.../html/supportClasses/UIItemRendererBase.js | 180 -----
.../src/org/apache/flex/html5/CheckBox.js | 75 --
.../src/org/apache/flex/html5/ComboBox.js | 188 -----
.../src/org/apache/flex/html5/DropDownList.js | 29 -
.../FlexJS/src/org/apache/flex/html5/Label.js | 57 --
.../js/FlexJS/src/org/apache/flex/html5/List.js | 42 --
.../src/org/apache/flex/html5/RadioButton.js | 86 ---
.../src/org/apache/flex/html5/TextArea.js | 57 --
.../src/org/apache/flex/html5/TextButton.js | 58 --
.../src/org/apache/flex/html5/TextInput.js | 58 --
.../src/org/apache/flex/jquery/Application.js | 42 --
.../src/org/apache/flex/jquery/CheckBox.js | 87 ---
.../src/org/apache/flex/jquery/RadioButton.js | 190 -----
.../src/org/apache/flex/jquery/TextButton.js | 68 --
.../org/apache/flex/jquery/ToggleTextButton.js | 148 ----
.../src/org/apache/flex/maps/google/Geometry.js | 50 --
.../src/org/apache/flex/maps/google/LatLng.js | 53 --
.../src/org/apache/flex/maps/google/Map.js | 349 ---------
.../src/org/apache/flex/maps/google/Marker.js | 63 --
.../src/org/apache/flex/maps/google/Place.js | 92 ---
.../apache/flex/maps/google/beads/MapView.js | 65 --
.../apache/flex/maps/google/models/MapModel.js | 100 ---
.../src/org/apache/flex/mobile/ManagerBase.js | 128 ----
.../src/org/apache/flex/net/BinaryUploader.js | 360 ---------
.../src/org/apache/flex/net/HTTPHeader.js | 63 --
.../src/org/apache/flex/net/HTTPService.js | 389 ----------
.../src/org/apache/flex/net/JSONInputParser.js | 48 --
.../org/apache/flex/net/JSONItemConverter.js | 48 --
.../flex/net/dataConverters/LazyCollection.js | 163 ----
.../src/org/apache/flex/svg/TextButton.js | 89 ---
.../apache/flex/svg/assets/TextButton_Skin.svg | 279 -------
.../src/org/apache/flex/utils/BeadMetrics.js | 48 --
.../src/org/apache/flex/utils/BinaryData.js | 223 ------
.../src/org/apache/flex/utils/EffectTimer.js | 94 ---
.../src/org/apache/flex/utils/Language.js | 295 --------
.../apache/flex/utils/MXMLDataInterpreter.js | 410 ----------
.../src/org/apache/flex/utils/MixinManager.js | 60 --
.../src/org/apache/flex/utils/PointUtils.js | 87 ---
.../FlexJS/src/org/apache/flex/utils/Timer.js | 147 ----
.../FlexJS/src/org/apache/flex/utils/UIUtils.js | 84 ---
.../flex/utils/ViewSourceContextMenuOption.js | 47 --
frameworks/js/FlexJS/tests/FlexJSTest.js | 59 --
frameworks/js/FlexJS/tests/MyController.js | 56 --
frameworks/js/FlexJS/tests/MyInitialView.js | 67 --
frameworks/js/FlexJS/tests/MyModel.js | 60 --
.../js/FlexJS/tests/MySimpleValuesImpl.js | 41 -
frameworks/js/FlexJS/tests/test.html | 43 --
.../src/org/apache/flex/binding/BindingBase.js | 121 +++
.../src/org/apache/flex/binding/ChainBinding.js | 207 ++++++
.../org/apache/flex/binding/ConstantBinding.js | 58 ++
.../org/apache/flex/binding/GenericBinding.js | 172 +++++
.../org/apache/flex/binding/PropertyWatcher.js | 195 +++++
.../org/apache/flex/binding/SimpleBinding.js | 91 +++
.../src/org/apache/flex/binding/WatcherBase.js | 246 ++++++
.../org/apache/flex/charts/core/ChartBase.js | 85 +++
.../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 | 155 ++++
.../charts/supportClasses/ChartDataGroup.js | 82 ++
.../Core/js/src/flash/display/Sprite.js | 40 +
.../Core/js/src/mx/core/ClassFactory.js | 64 ++
.../projects/Core/js/src/mx/core/IFactory.js | 45 ++
.../projects/Core/js/src/mx/states/AddItems.js | 129 ++++
.../Core/js/src/mx/states/SetEventHandler.js | 91 +++
.../Core/js/src/mx/states/SetProperty.js | 98 +++
.../projects/Core/js/src/mx/states/State.js | 49 ++
.../js/src/org/apache/flex/core/Application.js | 128 ++++
.../js/src/org/apache/flex/core/BeadViewBase.js | 72 ++
.../src/org/apache/flex/core/CallLaterBead.js | 93 +++
.../src/org/apache/flex/core/ContainerBase.js | 187 +++++
.../src/org/apache/flex/core/DataBindingBase.js | 34 +
.../src/org/apache/flex/core/FilledRectangle.js | 86 +++
.../js/src/org/apache/flex/core/FormatBase.js | 126 ++++
.../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 | 58 ++
.../js/src/org/apache/flex/core/IContentView.js | 79 ++
.../src/org/apache/flex/core/IDataGridModel.js | 41 +
.../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/IFormatBead.js | 59 ++
.../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 | 47 ++
.../js/src/org/apache/flex/core/ILayoutChild.js | 42 ++
.../src/org/apache/flex/core/ILayoutParent.js | 59 ++
.../apache/flex/core/IListPresentationModel.js | 54 ++
.../src/org/apache/flex/core/IMXMLDocument.js | 41 +
.../org/apache/flex/core/IMeasurementBead.js | 38 +
.../Core/js/src/org/apache/flex/core/IParent.js | 67 ++
.../src/org/apache/flex/core/IParentIUIBase.js | 46 ++
.../js/src/org/apache/flex/core/IPopUpHost.js | 45 ++
.../apache/flex/core/ISelectableItemRenderer.js | 74 ++
.../src/org/apache/flex/core/ISelectionModel.js | 64 ++
.../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 ++
.../flex/core/ItemRendererClassFactory.js | 99 +++
.../js/src/org/apache/flex/core/ListBase.js | 111 +++
.../org/apache/flex/core/SimpleCSSValuesImpl.js | 321 ++++++++
.../org/apache/flex/core/SimpleStatesImpl.js | 219 ++++++
.../org/apache/flex/core/SimpleValuesImpl.js | 33 +
.../Core/js/src/org/apache/flex/core/UIBase.js | 744 +++++++++++++++++++
.../js/src/org/apache/flex/core/UIMetrics.js | 51 ++
.../src/org/apache/flex/core/ValuesManager.js | 57 ++
.../js/src/org/apache/flex/core/ViewBase.js | 221 ++++++
.../org/apache/flex/core/ViewBaseDataBinding.js | 345 +++++++++
.../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 | 204 +++++
.../flex/core/graphics/GraphicsContainer.js | 232 ++++++
.../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 ++
.../src/org/apache/flex/events/BrowserEvent.js | 152 ++++
.../src/org/apache/flex/events/CustomEvent.js | 58 ++
.../js/src/org/apache/flex/events/DragEvent.js | 146 ++++
.../src/org/apache/flex/events/ElementEvents.js | 47 ++
.../Core/js/src/org/apache/flex/events/Event.js | 71 ++
.../org/apache/flex/events/EventDispatcher.js | 71 ++
.../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 | 78 ++
.../js/src/org/apache/flex/svg/TextButton.js | 89 +++
.../apache/flex/svg/assets/TextButton_Skin.svg | 279 +++++++
.../js/src/org/apache/flex/utils/BeadMetrics.js | 48 ++
.../js/src/org/apache/flex/utils/BinaryData.js | 223 ++++++
.../js/src/org/apache/flex/utils/EffectTimer.js | 94 +++
.../js/src/org/apache/flex/utils/Language.js | 295 ++++++++
.../apache/flex/utils/MXMLDataInterpreter.js | 410 ++++++++++
.../src/org/apache/flex/utils/MixinManager.js | 60 ++
.../js/src/org/apache/flex/utils/PointUtils.js | 87 +++
.../Core/js/src/org/apache/flex/utils/Timer.js | 147 ++++
.../js/src/org/apache/flex/utils/UIUtils.js | 84 +++
.../flex/utils/ViewSourceContextMenuOption.js | 47 ++
.../CreateJS/js/src/createjs_externals.js | 20 +
.../src/org/apache/flex/createjs/Application.js | 121 +++
.../js/src/org/apache/flex/createjs/CheckBox.js | 130 ++++
.../js/src/org/apache/flex/createjs/Label.js | 63 ++
.../src/org/apache/flex/createjs/TextButton.js | 90 +++
.../src/org/apache/flex/createjs/core/UIBase.js | 135 ++++
.../org/apache/flex/createjs/core/ViewBase.js | 76 ++
.../org/apache/flex/effects/PlatformWiper.js | 85 +++
.../src/org/apache/flex/maps/google/Geometry.js | 50 ++
.../src/org/apache/flex/maps/google/LatLng.js | 53 ++
.../js/src/org/apache/flex/maps/google/Map.js | 349 +++++++++
.../src/org/apache/flex/maps/google/Marker.js | 63 ++
.../js/src/org/apache/flex/maps/google/Place.js | 92 +++
.../apache/flex/maps/google/beads/MapView.js | 65 ++
.../apache/flex/maps/google/models/MapModel.js | 100 +++
.../HTML/js/src/org/apache/flex/html/Alert.js | 193 +++++
.../HTML/js/src/org/apache/flex/html/Button.js | 60 ++
.../js/src/org/apache/flex/html/ButtonBar.js | 87 +++
.../js/src/org/apache/flex/html/CheckBox.js | 87 +++
.../js/src/org/apache/flex/html/CloseButton.js | 55 ++
.../js/src/org/apache/flex/html/ComboBox.js | 195 +++++
.../js/src/org/apache/flex/html/Container.js | 108 +++
.../js/src/org/apache/flex/html/ControlBar.js | 58 ++
.../js/src/org/apache/flex/html/DropDownList.js | 124 ++++
.../js/src/org/apache/flex/html/HContainer.js | 42 ++
.../HTML/js/src/org/apache/flex/html/HRule.js | 44 ++
.../HTML/js/src/org/apache/flex/html/Image.js | 79 ++
.../org/apache/flex/html/ImageAndTextButton.js | 102 +++
.../HTML/js/src/org/apache/flex/html/Label.js | 69 ++
.../HTML/js/src/org/apache/flex/html/List.js | 177 +++++
.../src/org/apache/flex/html/MultilineLabel.js | 69 ++
.../src/org/apache/flex/html/NumericStepper.js | 161 ++++
.../HTML/js/src/org/apache/flex/html/Panel.js | 180 +++++
.../js/src/org/apache/flex/html/RadioButton.js | 176 +++++
.../js/src/org/apache/flex/html/SimpleAlert.js | 51 ++
.../js/src/org/apache/flex/html/SimpleList.js | 110 +++
.../HTML/js/src/org/apache/flex/html/Slider.js | 172 +++++
.../HTML/js/src/org/apache/flex/html/Spacer.js | 44 ++
.../HTML/js/src/org/apache/flex/html/Spinner.js | 170 +++++
.../js/src/org/apache/flex/html/TextArea.js | 68 ++
.../js/src/org/apache/flex/html/TextButton.js | 54 ++
.../js/src/org/apache/flex/html/TextInput.js | 95 +++
.../js/src/org/apache/flex/html/TitleBar.js | 86 +++
.../org/apache/flex/html/ToggleTextButton.js | 92 +++
.../HTML/js/src/org/apache/flex/html/ToolTip.js | 40 +
.../js/src/org/apache/flex/html/VContainer.js | 42 ++
.../accessories/NumericOnlyTextInputBead.js | 92 +++
.../flex/html/accessories/PasswordInputBead.js | 54 ++
.../flex/html/accessories/TextPromptBead.js | 64 ++
.../org/apache/flex/html/beads/ButtonBarView.js | 57 ++
.../org/apache/flex/html/beads/ContainerView.js | 64 ++
.../DataItemRendererFactoryForArrayData.js | 137 ++++
.../src/org/apache/flex/html/beads/IListView.js | 43 ++
.../apache/flex/html/beads/ImageButtonView.js | 45 ++
.../src/org/apache/flex/html/beads/ImageView.js | 63 ++
.../src/org/apache/flex/html/beads/ListView.js | 177 +++++
.../src/org/apache/flex/html/beads/PanelView.js | 129 ++++
.../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 | 94 +++
.../controllers/ItemRendererMouseController.js | 119 +++
.../ListSingleSelectionMouseController.js | 75 ++
.../beads/controllers/SliderMouseController.js | 172 +++++
.../beads/controllers/SpinnerMouseController.js | 85 +++
.../flex/html/beads/layouts/ButtonBarLayout.js | 118 +++
.../html/beads/layouts/NonVirtualBasicLayout.js | 134 ++++
.../layouts/NonVirtualBasicScrollingLayout.js | 99 +++
.../beads/layouts/NonVirtualHorizontalLayout.js | 116 +++
.../beads/layouts/NonVirtualVerticalLayout.js | 114 +++
.../NonVirtualVerticalScrollingLayout.js | 52 ++
.../flex/html/beads/layouts/TileLayout.js | 141 ++++
.../html/beads/models/ArraySelectionModel.js | 125 ++++
.../flex/html/beads/models/DataGridModel.js | 72 ++
.../apache/flex/html/beads/models/ImageModel.js | 66 ++
.../html/beads/models/ListPresentationModel.js | 75 ++
.../apache/flex/html/beads/models/PanelModel.js | 109 +++
.../apache/flex/html/beads/models/RangeModel.js | 158 ++++
.../apache/flex/html/beads/models/TextModel.js | 68 ++
.../flex/html/beads/models/TitleBarModel.js | 112 +++
.../ButtonBarButtonItemRenderer.js | 104 +++
.../flex/html/supportClasses/DataGridColumn.js | 75 ++
.../html/supportClasses/DataItemRenderer.js | 132 ++++
.../html/supportClasses/NonVirtualDataGroup.js | 134 ++++
.../html/supportClasses/StringItemRenderer.js | 139 ++++
.../html/supportClasses/UIItemRendererBase.js | 180 +++++
.../js/src/org/apache/flex/html5/CheckBox.js | 75 ++
.../js/src/org/apache/flex/html5/ComboBox.js | 188 +++++
.../src/org/apache/flex/html5/DropDownList.js | 29 +
.../HTML5/js/src/org/apache/flex/html5/Label.js | 57 ++
.../HTML5/js/src/org/apache/flex/html5/List.js | 42 ++
.../js/src/org/apache/flex/html5/RadioButton.js | 86 +++
.../js/src/org/apache/flex/html5/TextArea.js | 57 ++
.../js/src/org/apache/flex/html5/TextButton.js | 58 ++
.../js/src/org/apache/flex/html5/TextInput.js | 58 ++
.../projects/JQuery/js/src/jquery_externals.js | 20 +
.../src/org/apache/flex/jquery/Application.js | 42 ++
.../js/src/org/apache/flex/jquery/CheckBox.js | 87 +++
.../src/org/apache/flex/jquery/RadioButton.js | 190 +++++
.../js/src/org/apache/flex/jquery/TextButton.js | 68 ++
.../org/apache/flex/jquery/ToggleTextButton.js | 148 ++++
.../projects/JQuery/js/tests/FlexJSTest.js | 59 ++
.../projects/JQuery/js/tests/MyController.js | 56 ++
.../projects/JQuery/js/tests/MyInitialView.js | 67 ++
frameworks/projects/JQuery/js/tests/MyModel.js | 60 ++
.../JQuery/js/tests/MySimpleValuesImpl.js | 41 +
frameworks/projects/JQuery/js/tests/test.html | 43 ++
.../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 | 128 ++++
.../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 | 389 ++++++++++
.../src/org/apache/flex/net/JSONInputParser.js | 48 ++
.../org/apache/flex/net/JSONItemConverter.js | 48 ++
.../flex/net/dataConverters/LazyCollection.js | 163 ++++
474 files changed, 23570 insertions(+), 23570 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b677c658/frameworks/js/FlexJS/src/createjs_externals.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/createjs_externals.js b/frameworks/js/FlexJS/src/createjs_externals.js
deleted file mode 100644
index 7daaff1..0000000
--- a/frameworks/js/FlexJS/src/createjs_externals.js
+++ /dev/null
@@ -1,20 +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.
- */
-
-
-/**
- * This file is used to establish external APIs so the closure-compiler
- * can resolve references and won't minify names
- */
-function createjs() {}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b677c658/frameworks/js/FlexJS/src/flash/display/Sprite.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/flash/display/Sprite.js b/frameworks/js/FlexJS/src/flash/display/Sprite.js
deleted file mode 100644
index 8d9684d..0000000
--- a/frameworks/js/FlexJS/src/flash/display/Sprite.js
+++ /dev/null
@@ -1,40 +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('flash_display_Sprite');
-
-
-
-/**
- * @constructor
- */
-flash_display_Sprite = function() {
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-flash_display_Sprite.prototype.FLEXJS_CLASS_INFO =
- { names: [{ name: 'Sprite',
- qName: 'flash_display_Sprite' }] };
-
-
-/**
- * @expose
- */
-flash_display_Sprite.prototype.start = function() {
-};
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b677c658/frameworks/js/FlexJS/src/jquery_externals.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/jquery_externals.js b/frameworks/js/FlexJS/src/jquery_externals.js
deleted file mode 100644
index a14392f..0000000
--- a/frameworks/js/FlexJS/src/jquery_externals.js
+++ /dev/null
@@ -1,20 +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.
- */
-
-
-/**
- * This file is used to establish external APIs so the closure-compiler
- * can resolve references and won't minify names
- */
-function $() {}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b677c658/frameworks/js/FlexJS/src/mx/core/ClassFactory.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/mx/core/ClassFactory.js b/frameworks/js/FlexJS/src/mx/core/ClassFactory.js
deleted file mode 100644
index 97fec5c..0000000
--- a/frameworks/js/FlexJS/src/mx/core/ClassFactory.js
+++ /dev/null
@@ -1,64 +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('mx_core_ClassFactory');
-
-goog.require('mx_core_IFactory');
-
-
-
-/**
- * @constructor
- * @implements {mx_core_IFactory}
- * @param {Function} generator The class definition to use for newInstance.
- */
-mx_core_ClassFactory = function(generator) {
- /**
- * @private
- * @type {Function}
- */
- this.generator_ = generator;
- this.properties_ = null;
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-mx_core_ClassFactory.prototype.
- FLEXJS_CLASS_INFO =
- { names: [{ name: 'ClassFactory',
- qName: 'mx_core_ClassFactory' }],
- interfaces: [mx_core_IFactory] };
-
-
-/**
- * @expose
- * @return {Object} The new instance of the class described by generator.
- */
-mx_core_ClassFactory.
- prototype.newInstance = function() {
- var obj = new this.generator_();
-
- if (this.properties_) {
- var prop;
- for (prop in this.properties_) {
- obj[prop] = this.properties_[prop];
- }
- }
-
- return obj;
-};
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b677c658/frameworks/js/FlexJS/src/mx/core/IFactory.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/mx/core/IFactory.js b/frameworks/js/FlexJS/src/mx/core/IFactory.js
deleted file mode 100644
index 556a4e0..0000000
--- a/frameworks/js/FlexJS/src/mx/core/IFactory.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.
- */
-
-/**
- * @fileoverview
- * @suppress {checkTypes}
- */
-
-goog.provide('mx_core_IFactory');
-
-
-
-/**
- * @interface
- */
-mx_core_IFactory = function() {
-};
-
-
-/**
- * @expose
- * @return {Object} A new instance of the itemRenderer.
- */
-mx_core_IFactory.prototype.newInstance = function() {};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-mx_core_IFactory.prototype.FLEXJS_CLASS_INFO =
- { names: [{ name: 'IFactory',
- qName: 'mx_core_IFactory' }] };
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b677c658/frameworks/js/FlexJS/src/mx/states/AddItems.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/mx/states/AddItems.js b/frameworks/js/FlexJS/src/mx/states/AddItems.js
deleted file mode 100644
index 22f7619..0000000
--- a/frameworks/js/FlexJS/src/mx/states/AddItems.js
+++ /dev/null
@@ -1,129 +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('mx_states_AddItems');
-
-goog.require('org_apache_flex_core_IDocument');
-
-
-
-/**
- * @constructor
- * @implements {org_apache_flex_core_IDocument}
- */
-mx_states_AddItems = function() {
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-mx_states_AddItems.prototype.FLEXJS_CLASS_INFO =
- { names: [{ name: 'AddItems',
- qName: 'mx_states_AddItems' }],
- interfaces: [org_apache_flex_core_IDocument] };
-
-
-/**
- * @param {Object} document The MXML object.
- * @param {?string=} opt_id The id.
- */
-mx_states_AddItems.prototype.setDocument = function(document, opt_id) {
- opt_id = typeof opt_id !== 'undefined' ? opt_id : null;
- this.document = document;
- var data = document['mxmlsd'][this.itemsDescriptorIndex];
- if (typeof(data.slice) == 'function') {
- this.itemsDescriptor = {};
- this.itemsDescriptor.descriptor = data;
- // replace the entry in the document so subsequent
- // addItems know it is shared
- this.document['mxmlsd'][this.itemsDescriptorIndex] = this.itemsDescriptor;
- } else
- this.itemsDescriptor = data;
-};
-
-
-/**
- * @expose
- * @type {Object} document The MXML object.
- */
-mx_states_AddItems.prototype.document = null;
-
-
-/**
- * @expose
- * @type {Array} items The array of items to add.
- */
-mx_states_AddItems.prototype.items = null;
-
-
-/**
- * @expose
- * @type {number} itemsDescriptor The index into the array
- * of itemDescriptors on the document
- */
-mx_states_AddItems.prototype.itemsDescriptorIndex = -1;
-
-
-/**
- * @expose
- * @type {Object} itemsDescriptor The descriptors for items.
- */
-mx_states_AddItems.prototype.itemsDescriptor = null;
-
-
-/**
- * @expose
- * @type {string} destination The id of the parent.
- */
-mx_states_AddItems.prototype.destination = '';
-
-
-/**
- * @expose
- * @type {string} propertyName The child property name (e.g. mxmlContent).
- */
-mx_states_AddItems.prototype.propertyName = '';
-
-
-/**
- * @expose
- * @type {string} position Where the item goes relative to relativeTo.
- */
-mx_states_AddItems.prototype.position = '';
-
-
-/**
- * @expose
- * @type {?string} relativeTo The id of the child where the item goes.
- */
-mx_states_AddItems.prototype.relativeTo = null;
-
-
-/**
- * @expose
- * @param {Object} properties The properties for the new object.
- * @return {Object} The new object.
- */
-mx_states_AddItems.prototype.initializeFromObject = function(properties) {
- var p;
-
- for (p in properties) {
- this[p] = properties[p];
- }
-
- return this;
-};
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b677c658/frameworks/js/FlexJS/src/mx/states/SetEventHandler.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/mx/states/SetEventHandler.js b/frameworks/js/FlexJS/src/mx/states/SetEventHandler.js
deleted file mode 100644
index 1edc36e..0000000
--- a/frameworks/js/FlexJS/src/mx/states/SetEventHandler.js
+++ /dev/null
@@ -1,91 +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('mx_states_SetEventHandler');
-
-goog.require('org_apache_flex_core_IDocument');
-
-
-
-/**
- * @constructor
- * @implements {org_apache_flex_core_IDocument}
- */
-mx_states_SetEventHandler = function() {
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-mx_states_SetEventHandler.prototype.FLEXJS_CLASS_INFO =
- { names: [{ name: 'SetEventHandler',
- qName: 'mx_states_SetEventHandler' }],
- interfaces: [org_apache_flex_core_IDocument] };
-
-
-/**
- * @param {Object} document The MXML object.
- * @param {?string=} opt_id The id.
- */
-mx_states_SetEventHandler.prototype.setDocument = function(document, opt_id) {
- opt_id = typeof opt_id !== 'undefined' ? opt_id : null;
- this.document = document;
-};
-
-
-/**
- * @expose
- * @type {Object} document The MXML object.
- */
-mx_states_SetEventHandler.prototype.document = null;
-
-
-/**
- * @expose
- * @type {string} name The event to listen for.
- */
-mx_states_SetEventHandler.prototype.name = '';
-
-
-/**
- * @expose
- * @type {string} target The id of the object.
- */
-mx_states_SetEventHandler.prototype.target = '';
-
-
-/**
- * @expose
- * @type {Object} handlerFunction The listener to be added.
- */
-mx_states_SetEventHandler.prototype.handlerFunction = null;
-
-
-/**
- * @expose
- * @param {Object} properties The properties for the new object.
- * @return {Object} The new object.
- */
-mx_states_SetEventHandler.prototype.initializeFromObject = function(properties) {
- var p;
-
- for (p in properties) {
- this[p] = properties[p];
- }
-
- return this;
-};
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b677c658/frameworks/js/FlexJS/src/mx/states/SetProperty.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/mx/states/SetProperty.js b/frameworks/js/FlexJS/src/mx/states/SetProperty.js
deleted file mode 100644
index f7feca9..0000000
--- a/frameworks/js/FlexJS/src/mx/states/SetProperty.js
+++ /dev/null
@@ -1,98 +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('mx_states_SetProperty');
-
-goog.require('org_apache_flex_core_IDocument');
-
-
-
-/**
- * @constructor
- * @implements {org_apache_flex_core_IDocument}
- */
-mx_states_SetProperty = function() {
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-mx_states_SetProperty.prototype.FLEXJS_CLASS_INFO =
- { names: [{ name: 'SetProperty',
- qName: 'mx_states_SetProperty' }],
- interfaces: [org_apache_flex_core_IDocument] };
-
-
-/**
- * @param {Object} document The MXML object.
- * @param {?string=} opt_id The id.
- */
-mx_states_SetProperty.prototype.setDocument = function(document, opt_id) {
- opt_id = typeof opt_id !== 'undefined' ? opt_id : null;
- this.document = document;
-};
-
-
-/**
- * @expose
- * @type {Object} document The MXML object.
- */
-mx_states_SetProperty.prototype.document = null;
-
-
-/**
- * @expose
- * @type {string} name The target property name.
- */
-mx_states_SetProperty.prototype.name = '';
-
-
-/**
- * @expose
- * @type {?string} target The id of the object.
- */
-mx_states_SetProperty.prototype.target = null;
-
-
-/**
- * @expose
- * @type {Object} previousValue The value to revert to.
- */
-mx_states_SetProperty.prototype.previousValue = null;
-
-
-/**
- * @expose
- * @type {Object} value The value to set.
- */
-mx_states_SetProperty.prototype.value = null;
-
-
-/**
- * @expose
- * @param {Object} properties The properties for the new object.
- * @return {Object} The new object.
- */
-mx_states_SetProperty.prototype.initializeFromObject = function(properties) {
- var p;
-
- for (p in properties) {
- this[p] = properties[p];
- }
-
- return this;
-};
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b677c658/frameworks/js/FlexJS/src/mx/states/State.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/mx/states/State.js b/frameworks/js/FlexJS/src/mx/states/State.js
deleted file mode 100644
index 0d6df35..0000000
--- a/frameworks/js/FlexJS/src/mx/states/State.js
+++ /dev/null
@@ -1,49 +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('mx_states_State');
-
-
-
-/**
- * @constructor
- * @param {Object=} opt_props The initial properties.
- */
-mx_states_State = function(opt_props) {
- opt_props = typeof opt_props !== 'undefined' ? opt_props : null;
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-mx_states_State.prototype.FLEXJS_CLASS_INFO =
- { names: [{ name: 'State',
- qName: 'mx_states_State' }] };
-
-
-/**
- * @expose
- * @type {string} name The state name.
- */
-mx_states_State.prototype.name = '';
-
-
-/**
- * @expose
- * @type {Array} overrides The state data.
- */
-mx_states_State.prototype.overrides = null;
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b677c658/frameworks/js/FlexJS/src/org/apache/cordova/Application.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/cordova/Application.js b/frameworks/js/FlexJS/src/org/apache/cordova/Application.js
deleted file mode 100644
index 00c670d..0000000
--- a/frameworks/js/FlexJS/src/org/apache/cordova/Application.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_cordova_Application
- *
- * @fileoverview
- *
- * @suppress {checkTypes}
- */
-
-goog.provide('org_apache_cordova_Application');
-
-goog.require('org_apache_flex_core_Application');
-
-
-
-/**
- * @constructor
- * @extends {org_apache_flex_core_Application}
- */
-org_apache_cordova_Application = function() {
- org_apache_cordova_Application.base(this, 'constructor');
-
- document.addEventListener('deviceready',
- goog.bind(this.devicereadyredispatcher, this),
- false);
-};
-goog.inherits(org_apache_cordova_Application,
- org_apache_flex_core_Application);
-
-
-/**
- * @protected
- * @param {Object} event
- */
-org_apache_cordova_Application.prototype.devicereadyredispatcher = function(event) {
- this.dispatchEvent('deviceready');
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org_apache_cordova_Application.prototype.FLEXJS_CLASS_INFO = {
- names: [{ name: 'Application', qName: 'org_apache_cordova_Application'}]
-};
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b677c658/frameworks/js/FlexJS/src/org/apache/cordova/Weinre.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/cordova/Weinre.js b/frameworks/js/FlexJS/src/org/apache/cordova/Weinre.js
deleted file mode 100644
index 130c161..0000000
--- a/frameworks/js/FlexJS/src/org/apache/cordova/Weinre.js
+++ /dev/null
@@ -1,67 +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_cordova_Application
- *
- * @fileoverview
- *
- * @suppress {checkTypes}
- */
-
-goog.provide('org_apache_cordova_Weinre');
-
-
-
-/**
- * @constructor
- */
-org_apache_cordova_Weinre = function() {
-};
-
-
-Object.defineProperties(org_apache_cordova_Weinre.prototype, {
- /** @expose */
- strand: {
- /** @this {org_apache_cordova_Weinre} */
- set: function(value) {
- this.strand_ = value;
- }
- },
- /** @expose */
- guid: {
- /** @this {org_apache_cordova_Weinre} */
- set: function(value) {
-
- var scriptNode = document.createElement('SCRIPT');
- scriptNode.type = 'text/javascript';
- scriptNode.src = 'http://debug.phonegap.com/target/target-script-min.js#' + value;
-
- var headNode = document.getElementsByTagName('HEAD');
- if (headNode[0] != null)
- headNode[0].appendChild(scriptNode);
- }
- }
-});
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org_apache_cordova_Weinre.prototype.FLEXJS_CLASS_INFO = {
- names: [{ name: 'Weinre', qName: 'org_apache_cordova_Weinre'}]
-};
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b677c658/frameworks/js/FlexJS/src/org/apache/cordova/camera/Camera.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/cordova/camera/Camera.js b/frameworks/js/FlexJS/src/org/apache/cordova/camera/Camera.js
deleted file mode 100644
index c263770..0000000
--- a/frameworks/js/FlexJS/src/org/apache/cordova/camera/Camera.js
+++ /dev/null
@@ -1,136 +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.
- */
-
-/*
- FalconJX will inject html into the index.html file. Surround with
- "inject_html" tag as follows:
-
- <inject_html>
- <script type="text/javascript" src="cordova.js"></script>
- </inject_html>
- */
-
-/**
- * org_apache_cordova_camera_Camera
- *
- * @fileoverview
- *
- * @suppress {checkTypes}
- */
-
-goog.provide('org_apache_cordova_camera_Camera');
-
-
-
-/**
- * @constructor
- */
-org_apache_cordova_camera_Camera = function() {
- this.pictureSourceType = org_apache_cordova_camera_Camera.PictureSourceType.PHOTOLIBRARY;
- this.destinationType = org_apache_cordova_camera_Camera.DestinationType.DATA_URL;
- this.mediaType = org_apache_cordova_camera_Camera.MediaType.PICTURE;
- this.encodingType = org_apache_cordova_camera_Camera.EncodingType.JPEG;
- this.direction = org_apache_cordova_camera_Camera.Direction.BACK;
-};
-
-
-/**
- * @type {Object}
- */
-org_apache_cordova_camera_Camera.DestinationType = {DATA_URL: 0, FILE_URI: 1, NATIVE_URI: 2};
-
-
-/**
- * @type {Object}
- */
-org_apache_cordova_camera_Camera.PictureSourceType = {PHOTOLIBRARY: 0, CAMERA: 1, SAVEDPHOTOALBUM: 2};
-
-
-/**
- * @type {Object}
- */
-org_apache_cordova_camera_Camera.EncodingType = {JPEG: 0, PNG: 1};
-
-
-/**
- * @type {Object}
- */
-org_apache_cordova_camera_Camera.MediaType = {PICTURE: 0, VIDEO: 1, ALLMEDIA: 2};
-
-
-/**
- * @type {Object}
- */
-org_apache_cordova_camera_Camera.Direction = {BACK: 0, FRONT: 1};
-
-
-/**
- * @type {number}
- */
-//org_apache_cordova_camera_Camera.prototype.pictureSourceType;
-
-
-/**
- * @type {number}
- */
-//org_apache_cordova_camera_Camera.prototype.destinationType;
-
-
-/**
- * @type {number}
- */
-//org_apache_cordova_camera_Camera.prototype.mediaType;
-
-
-/**
- * @type {number}
- */
-//org_apache_cordova_camera_Camera.prototype.encodingType;
-
-
-/**
- * @type {number}
- */
-//org_apache_cordova_camera_Camera.prototype.direction;
-
-
-/**
- * @expose
- * @param {Function} cameraSuccess
- * @param {Function} cameraError
- * @param {Object} cameraOptions
- */
-org_apache_cordova_camera_Camera.prototype.getPicture = function(cameraSuccess, cameraError, cameraOptions) {
- navigator.camera.getPicture(cameraSuccess, cameraError, cameraOptions);
-};
-
-
-/**
- * @expose
- * @param {Function} cameraSuccess
- * @param {Function} cameraError
- */
-org_apache_cordova_camera_Camera.prototype.cleanup = function(cameraSuccess, cameraError) {
- navigator.camera.cleanup();
-};
-
-
-/**
- * Metadata
- *
- * @type {Object.<string, Array.<Object>>}
- */
-org_apache_cordova_camera_Camera.prototype.FLEXJS_CLASS_INFO = {
- names: [{ name: 'Camera', qName: 'org_apache_cordova_camera_Camera'}]
-};
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b677c658/frameworks/js/FlexJS/src/org/apache/flex/binding/BindingBase.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/binding/BindingBase.js b/frameworks/js/FlexJS/src/org/apache/flex/binding/BindingBase.js
deleted file mode 100644
index 863fc86..0000000
--- a/frameworks/js/FlexJS/src/org/apache/flex/binding/BindingBase.js
+++ /dev/null
@@ -1,121 +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;
-
-
-/**
- * @expose
- * @type {Object}
- */
-org_apache_flex_binding_BindingBase.prototype.destination = null;
-
-
-/**
- * @expose
- * @type {string}
- */
-org_apache_flex_binding_BindingBase.prototype.destinationPropertyName = '';
-
-
-/**
- * @expose
- * @type {Object}
- */
-org_apache_flex_binding_BindingBase.prototype.source = null;
-
-
-/**
- * @expose
- * @type {string}
- */
-org_apache_flex_binding_BindingBase.prototype.sourcePropertyName = '';
-
-
-/**
- * @expose
- * @type {?string}
- */
-org_apache_flex_binding_BindingBase.prototype.sourceID = null;
-
-
-/**
- * @expose
- * @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;
-
- if (this.source)
- this.source.removeEventListener(this.eventName,
- goog.bind(this.changeHandler, this));
-
- this.source = this.document[this.sourceID];
-};
-
-
-Object.defineProperties(org_apache_flex_binding_BindingBase.prototype, {
- /** @expose */
- 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/b677c658/frameworks/js/FlexJS/src/org/apache/flex/binding/ChainBinding.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/binding/ChainBinding.js b/frameworks/js/FlexJS/src/org/apache/flex/binding/ChainBinding.js
deleted file mode 100644
index a7b73b9..0000000
--- a/frameworks/js/FlexJS/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;
-
-
-/**
- * @expose
- * @type {Object}
- */
-org_apache_flex_binding_ChainBinding.prototype.destination = null;
-
-
-/**
- * @expose
- * @type {Object}
- */
-org_apache_flex_binding_ChainBinding.prototype.value = null;
-
-
-/**
- * @expose
- * @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;
-};
-
-
-/**
- * @expose
- * @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;
-
-
-/**
- * @expose
- * @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, {
- /** @expose */
- strand: {
- /** @this {org_apache_flex_binding_ChainBinding} */
- set: function(value) {
- this.applyBinding();
- }
- }
-});
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b677c658/frameworks/js/FlexJS/src/org/apache/flex/binding/ConstantBinding.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/binding/ConstantBinding.js b/frameworks/js/FlexJS/src/org/apache/flex/binding/ConstantBinding.js
deleted file mode 100644
index 7f992ac..0000000
--- a/frameworks/js/FlexJS/src/org/apache/flex/binding/ConstantBinding.js
+++ /dev/null
@@ -1,58 +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, {
- /** @expose */
- 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];
- }
- this.destination[this.destinationPropertyName] = val;
- }
- }
-});
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b677c658/frameworks/js/FlexJS/src/org/apache/flex/binding/GenericBinding.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/binding/GenericBinding.js b/frameworks/js/FlexJS/src/org/apache/flex/binding/GenericBinding.js
deleted file mode 100644
index 84eb1f0..0000000
--- a/frameworks/js/FlexJS/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'}] };
-
-
-/**
- * @expose
- * @type {Object}
- */
-org_apache_flex_binding_GenericBinding.prototype.destinationData = null;
-
-
-/**
- * @expose
- * @type {?function(?): ?}
- */
-org_apache_flex_binding_GenericBinding.prototype.destinationFunction = null;
-
-
-Object.defineProperties(org_apache_flex_binding_GenericBinding.prototype, {
- /** @expose */
- strand: {
- /** @this {org_apache_flex_binding_GenericBinding} */
- set: function(value) {
- this.destination = value;
-
- try {
- var val = this.getValueFromSource();
- this.applyValue(val);
- } catch (e) {
- }
- }
- }
-});
-
-
-/**
- * @expose
- * @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;
-};
-
-
-/**
- * @expose
- * @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;
- }
-};
-
-
-/**
- * @expose
- * @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) {
- }
-};
-
-
-/**
- * @expose
- * @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/b677c658/frameworks/js/FlexJS/src/org/apache/flex/binding/PropertyWatcher.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/binding/PropertyWatcher.js b/frameworks/js/FlexJS/src/org/apache/flex/binding/PropertyWatcher.js
deleted file mode 100644
index 685a40e..0000000
--- a/frameworks/js/FlexJS/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();
-
-};
-
-
-/**
- * @expose
- * @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/b677c658/frameworks/js/FlexJS/src/org/apache/flex/binding/SimpleBinding.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/binding/SimpleBinding.js b/frameworks/js/FlexJS/src/org/apache/flex/binding/SimpleBinding.js
deleted file mode 100644
index 78197fb..0000000
--- a/frameworks/js/FlexJS/src/org/apache/flex/binding/SimpleBinding.js
+++ /dev/null
@@ -1,91 +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'}] };
-
-
-/**
- * @expose
- * @type {string}
- */
-org_apache_flex_binding_SimpleBinding.prototype.eventName = '';
-
-
-/**
- * @expose
- */
-org_apache_flex_binding_SimpleBinding.prototype.changeHandler = function() {
- this.destination[this.destinationPropertyName] =
- this.source[this.sourcePropertyName];
-};
-
-
-/**
- * @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, {
- /** @expose */
- 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/b677c658/frameworks/js/FlexJS/src/org/apache/flex/binding/WatcherBase.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/binding/WatcherBase.js b/frameworks/js/FlexJS/src/org/apache/flex/binding/WatcherBase.js
deleted file mode 100644
index a7183a2..0000000
--- a/frameworks/js/FlexJS/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'}] };
-
-
-/**
- * @expose
- * @type {Object|number|string|boolean}
- * The value itself.
- */
-org_apache_flex_binding_WatcherBase.prototype.value = null;
-
-
-/**
- * @expose
- * 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) {
-};
-
-
-/**
- * @expose
- * 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);
-};
-
-
-/**
- * @expose
- * 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);
-};
-
-
-/**
- * @expose
- * @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/b677c658/frameworks/js/FlexJS/src/org/apache/flex/charts/core/ChartBase.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/charts/core/ChartBase.js b/frameworks/js/FlexJS/src/org/apache/flex/charts/core/ChartBase.js
deleted file mode 100644
index 7ed7649..0000000
--- a/frameworks/js/FlexJS/src/org/apache/flex/charts/core/ChartBase.js
+++ /dev/null
@@ -1,85 +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_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'}]
- };
-
-
-/**
- * @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, {
- /** @expose */
- 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'));
- }
- }
-});