1 2 3 4
$.fn.textNodes = function() { var ret = []; this.each( function() { ...
JavaScript [jQuery] All descendent tex...
1 2 3 4
function calc_color(value, start, end, min, max) { var n = (value - min) / (max - min); var s = parseInt(start.replace("#", ""), 16); ...
JavaScript Hex color between two colors
Watch out for edge cases, l...
1 2 3 4
#Functions [javscript] var ms = 0; var state = 0; ...
JavaScript Stop Watch
by richardhealy,
October 27, 2007 13:31,
3 refactorings, tagged with time, clock, speed, test, javascript
I use this to test speed of...
This function returns a jQu...