Skip to content

Instantly share code, notes, and snippets.

@nikgraf
Created July 16, 2013 23:58
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 nikgraf/6016362 to your computer and use it in GitHub Desktop.
Save nikgraf/6016362 to your computer and use it in GitHub Desktop.
void main() {
}
<!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>
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']);
}
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