Return-Path: X-Original-To: apmail-flex-commits-archive@www.apache.org Delivered-To: apmail-flex-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E02ED102D4 for ; Wed, 5 Feb 2014 05:35:36 +0000 (UTC) Received: (qmail 35936 invoked by uid 500); 5 Feb 2014 05:35:36 -0000 Delivered-To: apmail-flex-commits-archive@flex.apache.org Received: (qmail 35750 invoked by uid 500); 5 Feb 2014 05:35:28 -0000 Mailing-List: contact commits-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list commits@flex.apache.org Received: (qmail 35743 invoked by uid 99); 5 Feb 2014 05:35:26 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Feb 2014 05:35:26 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 8E81B91B61E; Wed, 5 Feb 2014 05:35:25 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: aharui@apache.org To: commits@flex.apache.org Message-Id: <3cc28de4d5f946a5805a1636e578536d@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: git commit: [flex-asjs] [refs/heads/develop] - remove fake copy of ClassFactory now that we have a real one in FlexJSUI Date: Wed, 5 Feb 2014 05:35:25 +0000 (UTC) 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 Authored: Wed Feb 5 05:32:07 2014 +0000 Committer: Alex Harui 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 newInstance() 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 newInstance() 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 newInstance() method. - * - *

For example, if you set properties to - * { text: "Hello", width: 100 }, then every instance - * of the generator class that is generated by calling - * newInstance() will have its text set to - * "Hello" and its width set to - * 100.

- * - * @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 - // - //-------------------------------------------------------------------------- - -} - -}