3 ms·
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 t
by nobleach 14y ago
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'".
- dylanks2 14y agoSince 1.6, everything uses data-dojo-*, which is the HTML5 recommended approach for toolkits.
- Leftium 14y agoSince 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 http://dojotoolkit.org/features/1.6/html5data-attributes [2] http://dojotoolkit.org/reference-guide/1.8/releasenotes/1.6.html http://dojotoolkit.org/reference-guide/1.8/releasenotes/1.6.... [3] http://dojotoolkit.org/reference-guide/1.8/releasenotes/migration-2.0.html http://dojotoolkit.org/reference-guide/1.8/releasenotes/migr...