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

Unified Diff: sdk/lib/_internal/pub/lib/src/barback/server.dart

Issue 141113011: Support directories other than "web" in pub build. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Revise. Created 6 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: sdk/lib/_internal/pub/lib/src/barback/server.dart
diff --git a/sdk/lib/_internal/pub/lib/src/barback/server.dart b/sdk/lib/_internal/pub/lib/src/barback/server.dart
index 65e9f7d8d4c5c5063a0582f9b98d4ce0e6da9cb9..d285cfad3e978b42c3cf1a08422ee316f8ee9203 100644
--- a/sdk/lib/_internal/pub/lib/src/barback/server.dart
+++ b/sdk/lib/_internal/pub/lib/src/barback/server.dart
@@ -57,10 +57,10 @@ class BarbackServer {
/// Creates a new server and binds it to [port] of [host].
///
- /// This server will serve assets from [barback], and use [rootPackage] as the
- /// root package.
- static Future<BarbackServer> bind(String host, int port, Barback barback,
- String rootPackage) {
+ /// This server will serve assets from [barback], and use [rootPackage] as
+ /// the root package.
+ static Future<BarbackServer> bind(String host, int port,
+ Barback barback, String rootPackage) {
return Chain.track(HttpServer.bind(host, port))
.then((server) => new BarbackServer._(server, barback, rootPackage));
}
« no previous file with comments | « sdk/lib/_internal/pub/lib/src/barback/load_transformers.dart ('k') | sdk/lib/_internal/pub/lib/src/barback/sources.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698