1
2
3
4
$.fn.textNodes = function() {
  var ret = [];
  this.each( function() {
...

JavaScript [jQuery] All descendent tex...

by jed, June 29, 2008 07:35, 5 refactorings, tagged with jquery, dom, speed, recursive

This function returns a jQu...

7b72d5a18ab92129692e97a76a153fe0 Talk
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

by Lucent, March 11, 2008 08:27, 3 refactorings, tagged with speed

Watch out for edge cases, l...

38daf62a7887b44454a78a37552b22e4 Talk
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...

28e65a85a625f7c0689bcf96ccf6043d Talk