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 (and perhaps bind?)
  • dojo.string.has contains wrong documentation.
  • Check out dojo_ie_clobber
  • Check out
  • 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 ( {
 		//	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 ( {
 		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!


Read previous post:
Unit tests and EasyMock

Unit tests and EasyMock Though I've heavily used refactoring for the past few years, I've never really felt at home...