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

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

Issue 569393002: no longer require entry points to be specified in the build.dart file (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: return null if not found Created 6 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 | « pkg/polymer/lib/default_build.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/polymer/lib/transformer.dart
diff --git a/pkg/polymer/lib/transformer.dart b/pkg/polymer/lib/transformer.dart
index 997357ad4a11ede20962f46337d22b333080a626..c367716ec5dbd410f46cecb93ab5c00279a7eea3 100644
--- a/pkg/polymer/lib/transformer.dart
+++ b/pkg/polymer/lib/transformer.dart
@@ -45,7 +45,7 @@ TransformOptions _parseSettings(BarbackSettings settings) {
bool injectBuildLogs =
!releaseMode && args['inject_build_logs_in_output'] != false;
return new TransformOptions(
- entryPoints: _readEntrypoints(args['entry_points']),
+ entryPoints: readEntrypoints(args['entry_points']),
inlineStylesheets: _readInlineStylesheets(args['inline_stylesheets']),
directlyIncludeJS: jsOption == null ? releaseMode : jsOption,
contentSecurityPolicy: csp,
@@ -54,7 +54,7 @@ TransformOptions _parseSettings(BarbackSettings settings) {
injectBuildLogsInOutput: injectBuildLogs);
}
-_readEntrypoints(value) {
+readEntrypoints(value) {
if (value == null) return null;
var entryPoints = [];
bool error;
« no previous file with comments | « pkg/polymer/lib/default_build.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698