News for hackers. Stuff that matters.
Re:Dojo JavaScript Toolkit 1.8 Released by nobleach on Thursday August 16, 2012 @01:33PM (#4392495)
I am forced to use Dojo whenever I am doing any sort of ESRI Arcgis web map development. While I agree that there are some nice points in Dojo, I think it's a travesty the way they were okay with PUKING all over the DOM with their Dojo specific markup. We have data attributes now, so hopefully they are beginning to leverage that. The app I'm working on now still uses Dojo 1.7 and it still has quite a bit of "dojo-this='foo'".
Re:Dojo JavaScript Toolkit 1.8 Released by Leftium on Thursday August 16, 2012 @02:09PM (#4392707)
Since version 1.6, "data-dojo-attr='foo'" is preferred; "dojoAttr='foo'" will not be supported in 2.0 [1][2].

More details: Dojo 1.x to 2.0 migration guide [3]

[1] http://dojotoolkit.org/features/1.6/html5data-attributes

[2] http://dojotoolkit.org/reference-guide/1.8/releasenotes/1.6....

[3] http://dojotoolkit.org/reference-guide/1.8/releasenotes/migr...

Re:Dojo JavaScript Toolkit 1.8 Released by dylanks2 on Thursday August 16, 2012 @01:50PM (#4392602)
Since 1.6, everything uses data-dojo-*, which is the HTML5 recommended approach for toolkits.