Merge pull request #257 from stweil/master

templates: Code cleanup
This commit is contained in:
Roman Schmerold
2015-11-14 19:16:11 +01:00

View File

@@ -8,7 +8,7 @@
if (!execAsap)
func.apply(obj, args);
timeout = null;
};
}
if (timeout)
clearTimeout(timeout);
@@ -17,7 +17,7 @@
timeout = setTimeout(delayed, threshold || 100);
};
}
};
// smartresize
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",
text: text
});
}
}