Skip to content Skip to sidebar Skip to footer

How To Fix Closure Compiler Error On Css({ Float: 'left' })

Possible Duplicate: Google Closure Compiler parse error: invalid property id for css({float:'left'}) I tried to use closure compiler from http://closure-compiler

Solution 1:

float is likely to be recognized as a reserved word (although it isn't, it was in ES3), so it should be safe to use

css({ "float": "left"})

Post a Comment for "How To Fix Closure Compiler Error On Css({ Float: 'left' })"