Updated Branches:
refs/heads/develop f34a6629a -> dc97a235a
remove fake copy of ClassFactory now that we have a real one in FlexJSUI
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/dc97a235
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/dc97a235
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/dc97a235
Branch: refs/heads/develop
Commit: dc97a235ac33b2f558ad97a87b9b7bc1b824e4dd
Parents: f34a662
Author: Alex Harui <aharui@apache.org>
Authored: Wed Feb 5 05:32:07 2014 +0000
Committer: Alex Harui <aharui@apache.org>
Committed: Wed Feb 5 05:33:56 2014 +0000
----------------------------------------------------------------------
.../projects/MXMLCClasses/src/MXMLCClasses.as | 2 -
.../MXMLCClasses/src/mx/core/ClassFactory.as | 100 -------------------
.../MXMLCClasses/src/mx/core/IFactory.as | 39 --------
3 files changed, 141 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/dc97a235/frameworks/as/projects/MXMLCClasses/src/MXMLCClasses.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/MXMLCClasses/src/MXMLCClasses.as b/frameworks/as/projects/MXMLCClasses/src/MXMLCClasses.as
index 7ac2c71..2bb6511 100644
--- a/frameworks/as/projects/MXMLCClasses/src/MXMLCClasses.as
+++ b/frameworks/as/projects/MXMLCClasses/src/MXMLCClasses.as
@@ -40,11 +40,9 @@ internal class MXMLCClasses
import mx.binding.StaticPropertyWatcher; StaticPropertyWatcher;
import mx.binding.Watcher; Watcher;
import mx.binding.XMLWatcher; XMLWatcher;
- import mx.core.ClassFactory; ClassFactory;
import mx.core.DeferredInstanceFromClass; DeferredInstanceFromClass;
import mx.core.DeferredInstanceFromFunction; DeferredInstanceFromFunction;
import mx.core.IDeferredInstance; IDeferredInstance;
- import mx.core.IFactory; IFactory;
import mx.core.IFlexModuleFactory; IFlexModuleFactory;
import mx.core.IPropertyChangeNotifier; IPropertyChangeNotifier;
import mx.core.IStateClient2; IStateClient2;
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/dc97a235/frameworks/as/projects/MXMLCClasses/src/mx/core/ClassFactory.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/MXMLCClasses/src/mx/core/ClassFactory.as b/frameworks/as/projects/MXMLCClasses/src/mx/core/ClassFactory.as
deleted file mode 100644
index 8ca4e79..0000000
--- a/frameworks/as/projects/MXMLCClasses/src/mx/core/ClassFactory.as
+++ /dev/null
@@ -1,100 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-// Licensed to the Apache Software Foundation (ASF) under one or more
-// contributor license agreements. See the NOTICE file distributed with
-// this work for additional information regarding copyright ownership.
-// The ASF licenses this file to You 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.
-//
-////////////////////////////////////////////////////////////////////////////////
-
-package mx.core
-{
-/**
- * @private
- * This class is used to satisfy old MXML codegen
- * for both Falcon and MXML, but in FlexJS with mxml.children-as-data output
- * it isn't needed so there is no JS equivalent
- */
-public class ClassFactory implements IFactory
-{
-
- //--------------------------------------------------------------------------
- //
- // Constructor
- //
- //--------------------------------------------------------------------------
-
- /**
- * Constructor.
- *
- * @param generator The Class that the <code>newInstance()</code> method
uses
- * to generate objects from this factory object.
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
- public function ClassFactory(generator:Class = null)
- {
- super();
- }
-
- //--------------------------------------------------------------------------
- //
- // Properties
- //
- //--------------------------------------------------------------------------
-
- //----------------------------------
- // generator
- //----------------------------------
-
- /**
- * The Class that the <code>newInstance()</code> method uses
- * to generate objects from this factory object.
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
- public var generator:Class;
-
- //----------------------------------
- // properties
- //----------------------------------
-
- /**
- * An Object whose name/value pairs specify the properties to be set
- * on each object generated by the <code>newInstance()</code> method.
- *
- * <p>For example, if you set <code>properties</code> to
- * <code>{ text: "Hello", width: 100 }</code>, then every instance
- * of the <code>generator</code> class that is generated by calling
- * <code>newInstance()</code> will have its <code>text</code> set
to
- * <code>"Hello"</code> and its <code>width</code> set to
- * <code>100</code>.</p>
- *
- * @default null
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
- public var properties:Object = null;
-
-}
-
-}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/dc97a235/frameworks/as/projects/MXMLCClasses/src/mx/core/IFactory.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/MXMLCClasses/src/mx/core/IFactory.as b/frameworks/as/projects/MXMLCClasses/src/mx/core/IFactory.as
deleted file mode 100644
index 205200b..0000000
--- a/frameworks/as/projects/MXMLCClasses/src/mx/core/IFactory.as
+++ /dev/null
@@ -1,39 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-// Licensed to the Apache Software Foundation (ASF) under one or more
-// contributor license agreements. See the NOTICE file distributed with
-// this work for additional information regarding copyright ownership.
-// The ASF licenses this file to You 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.
-//
-////////////////////////////////////////////////////////////////////////////////
-
-package mx.core
-{
-
-/**
- * @private
- * This class is used to satisfy old MXML codegen
- * for both Falcon and MXML, but in FlexJS with mxml.children-as-data output
- * it isn't needed so there is no JS equivalent
- */
-public interface IFactory
-{
- //--------------------------------------------------------------------------
- //
- // Methods
- //
- //--------------------------------------------------------------------------
-
-}
-
-}
|