kornelski / slip

Slip.js — UI library for manipulating lists via swipe and drag gestures
BSD 2-Clause "Simplified" License
2.44k stars 213 forks source link

Removed trailing commas in object literals #21

Closed jvhellemond closed 10 years ago

jvhellemond commented 10 years ago

Google Closure Compiler complains about trailing commas in object literals, because IE8 and lower (I know, meh) doesn't parse there correctly. I removed these commas here to make it easier to compress slip.js using Closure Compiler.

kornelski commented 10 years ago

Sorry, I don't support ES3.

Please add --language_in ECMASCRIPT5 to Closure Compiler args instead.