Running a Dart example on MacOS
So, as explained in my previous post I did install Dart on my Machine. And of course I was curios to run one of the examples of the dartlang.org website. To do so, is actually quite simple:
cd ~/workspace/dart/dart/client python ./tools/htmlconverter.py \ > samples/slider/slider_sample.html -o out/
This compiles the slider example to the out folder. To run, you call your Google Chrome Browser with the newly created html file. Make sure Chrome is not currently running as this will create a conflict accessing the profile
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome \ > out/client/samples/slider/slider_sample-js.html
This opens Chrome with the sample application running. For those who just want to try out some basic, I do recommend the Tutorials and the Try-Dart Interactive Shell on Google Apps

Saving Highlight (and Page)...





