[dojo-contributors] Prototype-al simplicity

Bill Keese bill at dojotoolkit.org
Fri Apr 7 13:09:10 EDT 2006


>> On 7 Apr 2006, at 04:09, Bill Keese wrote:
>>> How come it's so much bigger?
>> Ok, here's an initial size breakdown: <http://dojotoolkit.org/
>> ~psowden/dojolite.html> (DOM (Gecko!), please)

One small thing is to declare all the functions like they are part of an
object (or part of a package?), like this:

dojo.style = {
	getPixelValue: function() { ... },
	getNumericStyle: function() { ... },
};



More information about the dojo-contributors mailing list