You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
507 B
16 lines
507 B
|
|
var Extend = function(destination, source) {
|
|
for (var property in source) {
|
|
destination[property] = source[property];
|
|
}
|
|
return destination;
|
|
}
|
|
var CurrentStyle = function(element) {
|
|
return element.currentStyle || document.defaultView.getComputedStyle(element, null);
|
|
}
|
|
var Bind = function(object, fun) {
|
|
var args = Array.prototype.slice.call(arguments).slice(2);
|
|
return function() {
|
|
return fun.apply(object, args.concat(Array.prototype.slice.call(arguments)));
|
|
}
|