DDC check
This commit is contained in:
parent
81c6576458
commit
d8e8f14705
2 changed files with 17 additions and 0 deletions
9
web/index.html
Normal file
9
web/index.html
Normal 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
8
web/main.dart
Normal 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);
|
||||
}
|
Loading…
Reference in a new issue