Damn semicolons

This commit is contained in:
Ruud committed 2014-12-05 14:44:12 +01:00
1 parent d6cfcae45b
commit 5145618c39
27 files changed
+261 -263

No files matched your search

@@ -50,7 +50,7 @@ var ScrollSpy = new Class({
min = typeOf(self.options.min) == 'function' ? self.options.min() : self.options.min,
max = typeOf(self.options.max) == 'function' ? self.options.max() : self.options.max;
if(xy >= min && (max == 0 || xy <= max)) {
if(xy >= min && (max === 0 || xy <= max)) {
/* trigger enter event if necessary */
if(!self.inside) {
/* record as inside */
@@ -90,4 +90,4 @@ var ScrollSpy = new Class({
addListener: function() {
this.start();
}
});
});