pff, .
, . this.css = null... , "" : typecast; undefined; /; null .
/ mootools Options mixin. , . , Object.merge({ var: val}, useroptions); , .
, iirc, , $(document.body), , document.body , $() Element IE ( , , , $them). , $ UID . $(document) $(window) - "" , . , IE, $(something) "-". document.getElementById("foo").method() - $("foo"); , document.getElementById("foo").method() - IE.
window.addEvent(); // is fine.
document.body.adopt(new Element("div")); // not fine in IE.
new Element("div").inject(document.body); // fine.
:
$(document.body).adopt(new Element("div"));
document.body.adopt(new Element("span"));
. ie8: http://www.jsfiddle.net/AePzD/1/ - , . , document.body.methods() .
http://www.jsfiddle.net/AePzD/2/ - , ( $) webkit/mozilla, . $( "foo" ), . : $, , .
, . , . , . , , sizzle slick, , ( , FPS).
, , .
, , BIND:
(function(){
this.setStyle('background', 'blue');
}).delay(100, $("foo"));
. ,
(function(){
this.element.setStyle('background', 'blue');
this.someMethod();
}).delay(100, this));
. , mootools GC. .destroy - , imo. - DOM, element.dispose(). DOM, .destroy() - . \o/
IE ... . , , , dynatrace, . ... , js, , (, ) , , , ajax ( , - ...). - ...