DDC check

This commit is contained in:
Tobe O 2017-10-19 18:16:28 -04:00
parent 81c6576458
commit d8e8f14705
2 changed files with 17 additions and 0 deletions

9
web/index.html Normal file
View file

@ -0,0 +1,9 @@
<!DOCTYPE html>
<html>
<head>
<title>Client</title>
</head>
<body>
<script src="main.dart.js"></script>
</body>
</html>

8
web/main.dart Normal file
View file

@ -0,0 +1,8 @@
import 'dart:html';
import 'package:angel_client/browser.dart';
/// Dummy app to ensure client works with DDC.
main() {
var app = new Rest(window.location.origin);
window.alert(app.basePath);
}