Dojo and Tacos

Dojo and Tacos

There’s still a tiny little bug holding Tacos from the 4-beta-2 release. It’s simply Demo crashes under IE 6 : )

It appears to happen when dojo javascript is included inside <HEAD> but after a <BASE> tag.

So, i did some diffs on dojo code from rev.2889 to rev.3301, noticed lots of nice things. Here they are (so that i can remember them, will do more research in a few hours):

  • What happenned to dojo.dom.getContentAsString? (not in rev.2889, initially in rev.3301 but not now )
  • Check out dojo.undo.browser.
  • Added timeout: function(type){ } and timeoutSeconds: 0 in dojo.io.Request (and perhaps bind?)
  • dojo.string.has contains wrong documentation.
  • Check out dojo_ie_clobber
  • Check out dojo.style.insertCssFile
  • Use dojo.lang.mixin for adding properties to object ( i.e. dojo.lang.mixin(this, kwArgs) ).
  • Try some explode effects using dojo.fx.html.explode([0,0,0,0], node, duration, callback);

Regarding the bug we’re facing, perhaps it has to do with this new code:

 try {
 	if (dojo.render.html.ie) {
 		//	easier and safer VML addition.  Thanks Emil!
 		document.namespaces.add("v", "urn:schemas-microsoft-com:vml");
 		document.createStyleSheet().addRule("v\\:*", "behavior:url(#default#VML)");
 	}
 

that replaced this:

 try {
 	if (dojo.render.html.ie) {
 		document.write('<style>v\:*{ behavior:url(#default#VML); }</style>');
 		document.write('<xml:namespace ns="urn:schemas-microsoft-com:vml" prefix="v"/>');
 	}
 }
 

Will check all these as soon as i get to a win box. bye!

andyhot

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

More in java (32 of 42 articles)