On 11/9/16, 9:22 AM, "[email protected] on behalf of Carlos Rovira"
<[email protected] on behalf of [email protected]> wrote:
>Hi Alex,
>
>I'm trying to do this simple String operation:
>
>if(value.indexOf("url") >= 0)
> obj[pieces[0]] = pieces[1];
>
>and browser is reporting this error:
>
>"TypeError: null is not an object (evaluating 'value.indexOf')"
>
>maybe is something simple I can't see, but I can't see the problem here...
>
>Hope you could give some clue
Is this inside parseStyles? What is the input string? Maybe post all of
parseStyles so we can see it in context.
-Alex