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

Unified Diff: pkg/watcher/example/watch.dart

Issue 18878003: Fix pathos->path in watcher example. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Use "p" prefix for path. Created 7 years, 5 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 | « no previous file | pkg/watcher/test/utils.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/watcher/example/watch.dart
diff --git a/pkg/watcher/example/watch.dart b/pkg/watcher/example/watch.dart
index 247f66a5ecd9b91dec0d3319bb98bbbd92b40e71..235578dd673678f30393c5f78217ab47c0684256 100644
--- a/pkg/watcher/example/watch.dart
+++ b/pkg/watcher/example/watch.dart
@@ -7,7 +7,7 @@ library watch;
import 'dart:io';
-import 'package:pathos/path.dart' as pathos;
+import 'package:path/path.dart' as p;
import 'package:watcher/watcher.dart';
main() {
@@ -17,7 +17,7 @@ main() {
return;
}
- var watcher = new DirectoryWatcher(pathos.absolute(args[0]));
+ var watcher = new DirectoryWatcher(p.absolute(args[0]));
watcher.events.listen((event) {
print(event);
});
« no previous file with comments | « no previous file | pkg/watcher/test/utils.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698