phossa / smartselect

SmartSelect is a jQuery multiple select (multiselect) and tree / hierarchy select plugin with bootstrap style. It is 10x faster than similar plugins and supports complex data models.
http://phossa.github.io/smartselect/docs/index.html
52 stars 14 forks source link

googleClosure parse error fix #3

Closed Sohorev closed 8 years ago

Sohorev commented 8 years ago

googleClosure compiler has error:

jquery.smartselect.js:3872: ERROR - Parse error. identifier is a reserved word var long; ^ jquery.smartselect.js:3875: ERROR - Parse error. identifier is a reserved word long = txt; ^ jquery.smartselect.js:3879: ERROR - Parse error. identifier is a reserved word long = text; ^ jquery.smartselect.js:3884: ERROR - Parse error. identifier is a reserved word long = labels.join(','); ^ jquery.smartselect.js:3900: ERROR - Parse error. identifier is a reserved word .attr('title', long)

This commit fix for it

phossa commented 8 years ago

thanks!