Created
February 21, 2012 17:37
-
-
Save imjasonh/1877611 to your computer and use it in GitHub Desktop.
Dart Chrome extension
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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