Wilto / Dynamic-Carousel

A carousel plugin built for responsive layouts. There are many like it, but this one is mine.
matmarquis.com/carousel/
472 stars 112 forks source link

accidental use of reserved JS word: float #27

Closed eikes closed 13 years ago

eikes commented 13 years ago

float is a reserved word in JavaScript, that causes the Google Closure compiler to choke on it when used as a key in an object. The apostrophes fix this.

Wilto commented 13 years ago

Argh, rookie move! I’m usually in the habit of using parseFloat—my bad. Thanks for patching this up!