Why?
The OOP Syntax from Mootools is perfect for extending Classes, like:
var DefaultPainter = new Class({ // .... });
var CompactPainter = new Class({
Extends: DefaultPainter,
//...
});
aso.
The Framework also handles most things, that SimileAjax tries to implement.
(handling Requests, handling Dates, handling Languages, creating Elements,
Event handling, smooth Fx, aso.) It is 100% tested and just works! Also the
code gets much cleaner and really more readable. The end of the "prototype"
nirvana ;) No more:
Timeline.CompactEventPainter.prototype._onClickDurationEvent = ...
Timeline.CompactEventPainter.prototype.showBubble = ...
Timeline.CompactEventPainter.prototype._showBubble = ...
Please please please, take a look at mootools! :D
greetings André
Original issue reported on code.google.com by a.fied...@oe-konzept.de on 7 Sep 2010 at 9:13
Original issue reported on code.google.com by
a.fied...@oe-konzept.de
on 7 Sep 2010 at 9:13