maxmertkit icon indicating copy to clipboard operation
maxmertkit copied to clipboard

Port to Dart

Open etcimon opened this issue 10 years ago • 6 comments

I'm slowly moving my javascript projects into google's Dart and while maxmertkit is my top choice for further projects, it would be nice to have it natively available.

etcimon avatar May 15 '14 15:05 etcimon

Now I'm working on removing jQuery from dependences and tests for js plugins (including Selenium). I think it will take me 2-3 days to finish. If you ment "no jQuery" by saying "natively" :)

maxmert avatar May 15 '14 15:05 maxmert

If you ment "no jQuery" by saying "natively" :)

Dart is another language written by the V8 team that is supposed to replace javascript on the long run. https://www.dartlang.org/performance/

The benchmark charts are current, they compare javascript, dart compiled into javascript, and dart running in a browser VM. This VM is in the Chrome chrome://flags as #enable-experimental-web-platform-features , which is described by the dart(N/A) plot in the performance chart.

What I meant is to do a port, like this: http://pub.dartlang.org/packages/bootjack https://angulardart.org/

Because it wouldn't be convenient to use the js components from Dart (though it's possible using js context methods)

etcimon avatar May 15 '14 15:05 etcimon

Actually I didn't have in plans to port to dart. If you have some time and ability to create it, please make a fork (from next version 1.0.2 in 2-3 days) and pull request. I'll really appreciate it.

maxmert avatar May 15 '14 20:05 maxmert

Yes, I'll get at that once I have the time. I'm busy with tons of low-level stuff right now but this is on my list.

etcimon avatar May 15 '14 20:05 etcimon

Thanks! Let's leave this issue open then.

maxmert avatar May 15 '14 20:05 maxmert

I've updated to 1.0.2. You can look at js files now. They are stable and no jquery needed.

maxmert avatar May 19 '14 23:05 maxmert