templates: Code cleanup

* Remove unneeded semicolon.
* Add missing semicolon.
* Add linefeed at end of file

Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
Stefan Weil
2015-02-08 18:03:51 +01:00
parent 8c3b7b518f
commit 6fe0f56e41

View File

@@ -8,7 +8,7 @@
if (!execAsap) if (!execAsap)
func.apply(obj, args); func.apply(obj, args);
timeout = null; timeout = null;
}; }
if (timeout) if (timeout)
clearTimeout(timeout); clearTimeout(timeout);
@@ -17,7 +17,7 @@
timeout = setTimeout(delayed, threshold || 100); timeout = setTimeout(delayed, threshold || 100);
}; };
} };
// smartresize // smartresize
jQuery.fn[sr] = function(fn){ return fn ? this.bind('resize', debounce(fn)) : this.trigger(sr); }; jQuery.fn[sr] = function(fn){ return fn ? this.bind('resize', debounce(fn)) : this.trigger(sr); };
@@ -140,4 +140,4 @@ function circularText(canvas, x, y, size, text, color) {
fontFamily: "Lucida Grande, Verdana, sans-serif", fontFamily: "Lucida Grande, Verdana, sans-serif",
text: text text: text
}); });
} }