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: utils/pub/lock_file.dart

Issue 11783009: Big merge from experimental to bleeding edge. (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
« no previous file with comments | « utils/pub/io.dart ('k') | utils/pub/log.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/pub/lock_file.dart
diff --git a/utils/pub/lock_file.dart b/utils/pub/lock_file.dart
index 80036b845993a47f22e1e414f518d0a99f8f73c9..1e975852ff282f9e72758f4e689e9d1780fbdbc3 100644
--- a/utils/pub/lock_file.dart
+++ b/utils/pub/lock_file.dart
@@ -4,7 +4,7 @@
library lock_file;
-import 'dart:json';
+import 'dart:json' as json;
import 'package.dart';
import 'source_registry.dart';
import 'utils.dart';
@@ -85,6 +85,6 @@ class LockFile {
// TODO(nweiz): Serialize using the YAML library once it supports
// serialization. For now, we use JSON, since it's a subset of YAML anyway.
- return JSON.stringify({'packages': packagesObj});
+ return json.stringify({'packages': packagesObj});
}
}
« no previous file with comments | « utils/pub/io.dart ('k') | utils/pub/log.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698