Index: runtime/bin/json_patch.dart |
diff --git a/samples/hi/hi.dart b/runtime/bin/json_patch.dart |
similarity index 71% |
copy from samples/hi/hi.dart |
copy to runtime/bin/json_patch.dart |
index 2ce0f41f920cf65027111390b2f071231db16638..c03845bbff3ff9d0253bef9d83af99c60e4891b1 100644 |
--- a/samples/hi/hi.dart |
+++ b/runtime/bin/json_patch.dart |
@@ -2,10 +2,6 @@ |
// 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; |
-import 'dart:html'; |
- |
-main() { |
- query('#status').text = 'Hi, Dart'; |
-} |
+patch parse(String json, [reviver(var key, var value)]) => |
+ _parse(json, reviver); |