Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(74)

Unified Diff: runtime/bin/json_patch.dart

Issue 12114021: Use browsers JSON.parse for parsing JSON. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: runtime/bin/json_patch.dart
diff --git a/sdk/lib/chrome/dartium/chrome_dartium.dart b/runtime/bin/json_patch.dart
similarity index 71%
copy from sdk/lib/chrome/dartium/chrome_dartium.dart
copy to runtime/bin/json_patch.dart
index c2286553e46c7790c0c932cfb76c98b6266b81d3..7d1056a8f242a47091a265f5ab27012eb25c3ebf 100644
--- a/sdk/lib/chrome/dartium/chrome_dartium.dart
+++ b/runtime/bin/json_patch.dart
@@ -1,9 +1,7 @@
-library chrome;
-
// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
// 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.
-// DO NOT EDIT
-// Auto-generated dart:chrome library.
+patch parse(String json, [reviver(var key, var value)]) =>
+ _parse(json, reviver);
« no previous file with comments | « runtime/bin/dartutils.cc ('k') | runtime/bin/json_sources.gypi » ('j') | sdk/lib/json/json.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698