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

Unified Diff: pkg/polymer/lib/src/build/linter.dart

Issue 50073007: fix barback and polymer build warnings (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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: pkg/polymer/lib/src/build/linter.dart
diff --git a/pkg/polymer/lib/src/build/linter.dart b/pkg/polymer/lib/src/build/linter.dart
index 3f5fe0d3848dd47211d1947198739ca1cb9fe656..317765fff3119454b5250745725b6171d650b468 100644
--- a/pkg/polymer/lib/src/build/linter.dart
+++ b/pkg/polymer/lib/src/build/linter.dart
@@ -83,7 +83,7 @@ class Linter extends Transformer with PolymerTransformer {
}
Future<List<AssetId>> _getImportedIds(
- Document document, AssetId sourceId, Tranform transform) {
+ Document document, AssetId sourceId, Transform transform) {
var importIds = [];
var logger = transform.logger;
for (var tag in document.queryAll('link')) {
@@ -253,7 +253,7 @@ class _LinterVisitor extends TreeVisitor {
if (_isEntrypoint && !_dartTagSeen) {
_logger.error(USE_INIT_DART, span: doc.body.sourceSpan);
- }
+ }
if (_isEntrypoint && !_dartJSSeen) {
// TODO(sigmund): remove this when webkitStartDart is gone.
@@ -541,7 +541,7 @@ const String _RED_COLOR = '\u001b[31m';
const String _MAGENTA_COLOR = '\u001b[35m';
const String _NO_COLOR = '\u001b[0m';
-const String USE_INIT_DART =
+const String USE_INIT_DART =
'To run a polymer applications, you need to call "initPolymer". You can '
'either include a generic script tag that does this for you:'
'\'<script type="application/dart">import "package:polymer/init.dart";'
@@ -552,7 +552,7 @@ const String USE_DART_JS =
'To run a polymer applications in Dartium, make sure to include'
'\'<script src="packages/browser/dart.js"></script>\' in your page';
-const String BOOT_JS_DEPRECATED =
+const String BOOT_JS_DEPRECATED =
'"boot.js" is now deprecated. Instead, you can initialize your polymer '
'application by calling "initPolymer()" in your main. If you don\'t have a '
'main, then you can include our generic main by adding the following '

Powered by Google App Engine
This is Rietveld 408576698