Created
July 16, 2013 23:58
-
-
Save nikgraf/6016362 to your computer and use it in GitHub Desktop.
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
void main() { | |
} |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
</head> | |
<body> | |
<h1>Alarm</h1> | |
<script type="application/dart" src="alarm.dart"></script> | |
<script src="packages/browser/dart.js"></script> | |
</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
import 'dart:io'; | |
import 'package:polymer/component_build.dart'; | |
// Ref: http://www.dartlang.org/articles/dart-web-components/tools.html | |
main() { | |
build(new Options().arguments, ['web/alarm.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: alarm | |
description: A simple Alarm Application using polymer.dart | |
dependencies: | |
browser: any | |
polymer: any | |
shadow_dom: any |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment