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:
6
templates/Sparkle/assets/js/circular.js
vendored
6
templates/Sparkle/assets/js/circular.js
vendored
@@ -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
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user