[ng-dhtml] dojo.dom, dojo.style and dojo.html: the new homes for dojo.xml.domUtil and dojo.xml.htmlUtil

Paul Sowden paul at idontsmoke.co.uk
Mon Sep 12 17:02:57 CDT 2005


Hey,

This is for the attention of those using SVN HEAD or the Dojo nightly  
builds.

dojo.xml.domUtil and dojo.xml.htmlUtil have been split out into  
dojo.dom, dojo.style and dojo.html. To include the new files use:

dojo.require("dojo.dom");
dojo.require("dojo.style");
dojo.require("dojo.html");

For those using Dojo only in an HTML environment (that's pretty much  
everyone at the moment) it is useful to note that dojo.html inherits  
from dojo.style and dojo.dom so you do not need to worry about the  
different namespaces if you don't want to, everything can be accessed  
using dojo.html.

In most cases the functions have simply been moved but a couple of  
the method names have been normalised so in some cases you'll need to  
look up the new function names. This can be done by inspecting the  
src/xml/[dom|html]Util.js stub for the new mapping.

The library should continue to work without making any changes and if  
Dojo breaks by simply rev'ing please file a bug.

Cheers.

-- 
Paul Sowden




More information about the NG-DHTML mailing list