superclass does get renamed in minifier
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/3f77eec6 Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/3f77eec6 Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/3f77eec6 Branch: refs/heads/core_js_to_as Commit: 3f77eec6128cc2a4691cc7afaf165e34a7771d49 Parents: c9bec30 Author: Alex Harui <[email protected]> Authored: Tue Dec 15 08:48:40 2015 -0800 Committer: Alex Harui <[email protected]> Committed: Tue Dec 15 08:48:40 2015 -0800 ---------------------------------------------------------------------- .../Core/as/src/org/apache/flex/core/SimpleCSSValuesImpl.as | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3f77eec6/frameworks/projects/Core/as/src/org/apache/flex/core/SimpleCSSValuesImpl.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/Core/as/src/org/apache/flex/core/SimpleCSSValuesImpl.as b/frameworks/projects/Core/as/src/org/apache/flex/core/SimpleCSSValuesImpl.as index afc4919..e64a517 100644 --- a/frameworks/projects/Core/as/src/org/apache/flex/core/SimpleCSSValuesImpl.as +++ b/frameworks/projects/Core/as/src/org/apache/flex/core/SimpleCSSValuesImpl.as @@ -431,7 +431,8 @@ package org.apache.flex.core } COMPILE::JS { - thisInstance = thisInstance.constructor["superClass_"]; + var constructorAsObject:Object = thisInstance["constructor"]; + thisInstance = constructorAsObject.superClass_; if (!thisInstance || !thisInstance.FLEXJS_CLASS_INFO) break;
