Re: CSSUtils.toColorWithAlpha
On 10/27/16, 1:32 AM, "Harbs" wrote: >Alex, I think this question is for you since I think you wrote the code >last July. > >The handling of rgba seems odd to me: > >else if ((c = stringValue.indexOf("rgba(")) != -1) >{ >c2 = stringValue.indexOf(")"); >
CSSUtils.toColorWithAlpha
Alex, I think this question is for you since I think you wrote the code last July. The handling of rgba seems odd to me: else if ((c = stringValue.indexOf("rgba(")) != -1) { c2 = stringValue.indexOf(")"); stringValue = stringValue.substring