needim/noty — pull request #76 by shawjia (2012-08-22 02:58:33+00:00)
Title: fix errors based on JSHint's result

Hi, Nedim, I use JSHint to check your code, found some problems and fixed it.

JSHint result:

jquery.noty.js: line 14, col 24, Unnecessary semicolon.
jquery.noty.js: line 18, col 2, Unnecessary semicolon.
jquery.noty.js: line 29, col 74, ['inline'] is better written in dot notation.
jquery.noty.js: line 159, col 60, Use '===' to compare with '0'.
jquery.noty.js: line 164, col 64, Use '===' to compare with '0'.
jquery.noty.js: line 246, col 70, Use '===' to compare with '0'.
jquery.noty.js: line 262, col 37, Use '===' to compare with '0'.
jquery.noty.js: line 287, col 1, Mixed spaces and tabs.
jquery.noty.js: line 388, col 6, Missing semicolon.

bottomCenter.js: line 25, col 80, Extra comma.
centerLeft.js: line 33, col 77, Extra comma.
centerRight.js: line 33, col 77, Extra comma.
topCenter.js: line 25, col 80, Extra comma.

default.js: line 3, col 19, Expected an identifier and instead saw 'default' (a reserved word).
default.js: line 37, col 23, Extra comma.
default.js: line 62, col 34, Extra comma.
default.js: line 69, col 40, Extra comma.
default.js: line 151, col 48, Expected an identifier and instead saw 'default' (a reserved word).
default.js: line 152, col 49, Expected an identifier and instead saw 'default' (a reserved word).

cause the default is a reserved word in JavaScript, I also change the theme name from default to defaults.