/dart-html5-samples

HTML5 samples in Dart

Primary LanguageDartOtherNOASSERTION

dart-samples

These are code samples written in Dart. Most of them were ported from HTML5 Rocks.

So far, the samples cover HTML5 topics. We want to expand the scope of the samples to cover other topics as well.

Samples

Here are the samples we've created so far:

Setup

Here's how to setup the project so that you can play with the samples yourself:

export DART_SDK=.../dart/dart-sdk
export PATH=$PATH:$DART_SDK/bin
pub install

Contributing

Although we’ve ported a lot of samples, many more remain. If you’d like to help out, this would be a great way to contribute to the Dart project!

  • Read the LICENSE file.
  • Sign the Individual Contributor License Agreement.
  • Submit a bug in the issue tracker with the tutorial you plan on porting, so that others will know you are working on it.
  • Take a look at the other examples to get a feel for how we’ve structured things.
  • Fork the project on GitHub.
  • Add your sample.
  • Test your sample with both Dartium and dart2js.
  • Update the README with a link to your sample.
  • Send us a pull request.

If you’d like to chat more about this, feel free to send us email on the mailing list or ask questions on Stack Overflow using the "dart" tag.