Index: samples/hi/hi.dart |
diff --git a/samples/hi/hi.dart b/samples/hi/hi.dart |
index 77cc144f834513f040b0496efde571b3ea84607a..18edacbe159a6739693a3b9e6a20fa316a9b0f22 100644 |
--- a/samples/hi/hi.dart |
+++ b/samples/hi/hi.dart |
@@ -2,10 +2,10 @@ |
// for details. All rights reserved. Use of this source code is governed by a |
// BSD-style license that can be found in the LICENSE file. |
-#library('hi'); |
+library hi; |
-#import('dart:html'); |
+import 'dart:html'; |
main() { |
- document.query('#status').innerHTML = 'Hi, Dart'; |
+ query('#status').text = 'Hi, Dart'; |
} |