Skip to content

YUI Compressor Error #473

Open
Open
@babielgm

Description

@babielgm

The YUI Compressor which can also be used as Validator shows me an "error" in the script. A reserved word is used (char).
You can solve this very easy. Just search for
$.each(ignore.split(''), function(i, char) { value = value.replace(new RegExp('\\'+char, 'g'), ''); });
And replace it with this. Just a variable renaming.
$.each(ignore.split(''), function(i, character) { value = value.replace(new RegExp('\\'+character, 'g'), ''); });
Would be awesome if you could change this, so i can enjoy your updates.
Keep up the good work.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions