Repository: flex-asjs Updated Branches: refs/heads/develop 24f0a2409 -> 70d4c2363
parseInt requires 2 parameters to match typedef Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/b356f6c3 Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/b356f6c3 Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/b356f6c3 Branch: refs/heads/develop Commit: b356f6c361d140e8d0c1b20f2f792c925903f99e Parents: 81712dc Author: Justin Mclean <[email protected]> Authored: Wed Mar 15 10:04:56 2017 +1100 Committer: Justin Mclean <[email protected]> Committed: Wed Mar 15 10:04:56 2017 +1100 ---------------------------------------------------------------------- .../projects/Core/src/main/flex/org/apache/flex/utils/CSSUtils.as | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b356f6c3/frameworks/projects/Core/src/main/flex/org/apache/flex/utils/CSSUtils.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/Core/src/main/flex/org/apache/flex/utils/CSSUtils.as b/frameworks/projects/Core/src/main/flex/org/apache/flex/utils/CSSUtils.as index 2102acd..dc264f8 100644 --- a/frameworks/projects/Core/src/main/flex/org/apache/flex/utils/CSSUtils.as +++ b/frameworks/projects/Core/src/main/flex/org/apache/flex/utils/CSSUtils.as @@ -49,7 +49,7 @@ package org.apache.flex.utils { rgba[i] = parseInt(rgba[i], 16); } - rgba[3] = parseInt(""+(rgba[3]/255)*1000) / 1000; + rgba[3] = parseInt(""+(rgba[3]/255)*1000, 10) / 1000; return "rgba(" + rgba.join(",") + ")"; } return "#" + StringPadder.pad(hexVal,"0",6);
