add marker interface so we know when to emit CSS
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/a547f479 Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/a547f479 Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/a547f479 Branch: refs/heads/refactor-sprite Commit: a547f479312dd21e917ad78d04c8b9dd09f57857 Parents: 22756db Author: Alex Harui <[email protected]> Authored: Tue Sep 6 21:25:08 2016 -0700 Committer: Alex Harui <[email protected]> Committed: Tue Sep 6 21:25:08 2016 -0700 ---------------------------------------------------------------------- .../main/flex/org/apache/flex/core/ICSSImpl.as | 28 ++++++++++++++++++++ .../org/apache/flex/core/SimpleCSSValuesImpl.as | 2 +- 2 files changed, 29 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/a547f479/frameworks/projects/Core/src/main/flex/org/apache/flex/core/ICSSImpl.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/Core/src/main/flex/org/apache/flex/core/ICSSImpl.as b/frameworks/projects/Core/src/main/flex/org/apache/flex/core/ICSSImpl.as new file mode 100644 index 0000000..e8b42e5 --- /dev/null +++ b/frameworks/projects/Core/src/main/flex/org/apache/flex/core/ICSSImpl.as @@ -0,0 +1,28 @@ +//////////////////////////////////////////////////////////////////////////////// +// +// 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 org.apache.flex.core +{ + + /** + * A marker interface so the compiler knows whether to emit CSS + */ + public interface ICSSImpl + { + } +} http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/a547f479/frameworks/projects/Core/src/main/flex/org/apache/flex/core/SimpleCSSValuesImpl.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/Core/src/main/flex/org/apache/flex/core/SimpleCSSValuesImpl.as b/frameworks/projects/Core/src/main/flex/org/apache/flex/core/SimpleCSSValuesImpl.as index dd1f3d1..7afd2ff 100644 --- a/frameworks/projects/Core/src/main/flex/org/apache/flex/core/SimpleCSSValuesImpl.as +++ b/frameworks/projects/Core/src/main/flex/org/apache/flex/core/SimpleCSSValuesImpl.as @@ -45,7 +45,7 @@ package org.apache.flex.core * @playerversion AIR 2.6 * @productversion FlexJS 0.0 */ - public class SimpleCSSValuesImpl extends EventDispatcher implements IValuesImpl + public class SimpleCSSValuesImpl extends EventDispatcher implements IValuesImpl, ICSSImpl { /** * Constructor.
