|
Subject: Major reorg of dojo core! Newsgroups: gmane.comp.web.dojo.user Date: 2006-01-21 03:20:54 GMT (2 years, 45 weeks, 1 day, 15 hours and 43 minutes ago)
Hey folks-
In response to some of our size issues, I've just checked in a major
reorg[1] of some of the core libraries, namely dojo.lang and
dojo.string. I've done my best to make sure everything still works,
but I can only test files in dojo. Here's what's happened...
dojo.lang now contains just the most-used lang functions. These are:
- mixin
- extend
- find/indexOf
- findLast/lastIndexOf
- inArray
- Crockford's is* functions
This file is now dojo.lang.common. when you require dojo.lang, common
is what you get. The following "sub includes" have been setup:
- dojo.lang.array
- dojo.lang.assert
- dojo.lang.extras
- dojo.lang.func
- dojo.lang.repr
- dojo.lang.type
You can look at each of those to see what's where. I've setup
lang\__package__.js to pull in *everything*, so if you don't have time
to skim dependencies, you can just do dojo.require("dojo.lang.*") and
you'll get everything you need!
dojo.string is now tiny and just includes:
- trim*
- repeat
- pad*
Again, this is the common (dojo.string.common). Everything else is in
dojo.string.extras. To get all the string goodness, dojo.string.* is
your man.
Please, please, please test this stuff out for me if you get a chance.
Things should be rockin', but I'm sure to have missed something.
Thanks.
-d
[1] r2910 - http://trac.dojotoolkit.org/changeset/2910
|
|
|