|
|
|
|
|
by spankalee
4364 days ago
|
|
Almost, but we have made it better. For instance, rather than use callbacks everywhere, most of our async APIs return Futures and Streams. All the "Array like objects", like NodeList, are actually lists in Dart. You can iterate over them and modify them list any other list. element.classses.add('foo') works, as well as some jQuery-isms like element.classes.toggle('foo', show). setInterval is replaced with the standard dart:async Timer class. There is a ton of cleanup in the dart:html library that makes programming the DOM nice. I'd say there will never need to be a jQuery equivalent in Dart. |
|
You should read the "Criticism" part of this page.
http://en.wikipedia.org/wiki/Dart_%28programming_language%29
Apple, FF, MS are all against Dart.
Google "percentage of website power by Jquery" and tell us how are you going to convince 50% of websites to abandon JQuery and use dart.
Dart today = GWT of yesterday!!!