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

Unified Diff: pkg/polymer/lib/builder.dart

Issue 24426003: pkg/polymer builder.dart doc tweaks (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 3 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/polymer/lib/builder.dart
diff --git a/pkg/polymer/lib/builder.dart b/pkg/polymer/lib/builder.dart
index eb5ee435972ee65d3930627cc109353d499a88fe..cb1a1c6b129693cfc5f307a1f3f2b4518700026e 100644
--- a/pkg/polymer/lib/builder.dart
+++ b/pkg/polymer/lib/builder.dart
@@ -4,7 +4,7 @@
/**
* Common logic to make it easy to run the polymer linter and deploy tool.
- *
+ *
* The functions in this library are designed to make it easier to create
* `build.dart` files. A `build.dart` file is a Dart script that can be invoked
* from the command line, but that can also invoked automatically by the Dart
@@ -39,7 +39,7 @@
* import 'package:polymer/builder.dart';
*
* main() {
- * lint().then(() => deploy());
+ * lint().then((_) => deploy());
* }
*
* **Example 3**: Runs the linter, but conditionally does the deploy step. See
@@ -51,7 +51,7 @@
*
* main() {
* var options = parseOptions();
- * lint().then(() {
+ * lint().then((_) {
* if (options.forceDeploy) deploy();
* });
* }
@@ -97,7 +97,7 @@ import 'transformer.dart';
* The [entryPoints] list contains files under web/ that should be treated as
* entry points. Each entry on this list is a relative path from the package
* root (for example 'web/index.html'). If null, all files under 'web/' are
- * treated as possible entry points.
+ * treated as possible entry points.
*
* Options are read from the command line arguments, but you can override them
* passing the [options] argument. The deploy operation is run only when the
@@ -123,13 +123,13 @@ Future build({List<String> entryPoints, CommandLineOptions options,
/**
- * Runs the polymer linter on any relevant file in your package,
+ * Runs the polymer linter on any relevant file in your package,
* such as any .html file under 'lib/', 'asset/', and 'web/'.
*
* The [entryPoints] list contains files under web/ that should be treated as
* entry points. Each entry on this list is a relative path from the package
* root (for example 'web/index.html'). If null, all files under 'web/' are
- * treated as possible entry points.
+ * treated as possible entry points.
*
* Options are read from the command line arguments, but you can override them
* passing the [options] argument.
@@ -184,7 +184,7 @@ Future lint({List<String> entryPoints, CommandLineOptions options,
* The [entryPoints] list contains files under web/ that should be treated as
* entry points. Each entry on this list is a relative path from the package
* root (for example 'web/index.html'). If null, all files under 'web/' are
- * treated as possible entry points.
+ * treated as possible entry points.
*
* Options are read from the command line arguments, but you can override them
* passing the [options] list.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698