Skip to content

Instantly share code, notes, and snippets.

@clauswitt
Created February 18, 2011 09:28
Show Gist options
  • Select an option

  • Save clauswitt/833462 to your computer and use it in GitHub Desktop.

Select an option

Save clauswitt/833462 to your computer and use it in GitHub Desktop.
//arguments[0].class = 'twitterTickerWidget ' + arguments[0].class;
//should be changed to
arguments[0]["class"] = 'twitterTickerWidget ' + arguments[0]["class"];
//because class is a reserved word.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment