You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2017/06/02 15:56:36 UTC
git commit: [flex-asjs] [refs/heads/release0.8.0] - handle end of loop
Repository: flex-asjs
Updated Branches:
refs/heads/release0.8.0 01d8523fe -> 5ed45d9ed
handle end of loop
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/5ed45d9e
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/5ed45d9e
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/5ed45d9e
Branch: refs/heads/release0.8.0
Commit: 5ed45d9ed1021df40022c3f0687299cb2cdb630e
Parents: 01d8523
Author: Alex Harui <ah...@apache.org>
Authored: Fri Jun 2 08:56:38 2017 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Fri Jun 2 08:56:42 2017 -0700
----------------------------------------------------------------------
.../Core/src/main/flex/org/apache/flex/core/SimpleCSSValuesImpl.as | 1 +
1 file changed, 1 insertion(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5ed45d9e/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 0ab68bc..0bdc8c1 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
@@ -593,6 +593,7 @@ package org.apache.flex.core
for each (var part:String in parts)
{
var pieces:Array = StringUtil.splitAndTrim(part, ":");
+ if (pieces.length < 2) continue;
var valueName:String = pieces[0];
var c:int = valueName.indexOf("-");
while (c != -1)