make selections work

This commit is contained in:
Fabian Jakobs 2010-04-07 09:21:32 +02:00
commit 7c845509d7
3 changed files with 169 additions and 54 deletions

6
lib.js
View file

@ -72,4 +72,10 @@ computedStyle = function(element, style)
} else {
return element.currentStyle[style];
}
}
bind = function(fcn, context) {
return function() {
return fcn.apply(context, arguments);
}
}