Skip to content

Instantly share code, notes, and snippets.

@imjasonh
Created February 21, 2012 17:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save imjasonh/1877611 to your computer and use it in GitHub Desktop.
Save imjasonh/1877611 to your computer and use it in GitHub Desktop.
Dart Chrome extension
<html><head>
<script type="application/dart">
main() {
print('hello world');
}
</script>
<script type='text/javascript'>
if (navigator.webkitStartDart) {
navigator.webkitStartDart();
}
</script>
</head>
<body></body>
</html>
{
"name": "Test Dart Extension",
"version": "0.1",
"description": "A test extension using Dart",
"background_page": "background.html"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment