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

Unified Diff: pkg/polymer/test/build/all_phases_test.dart

Issue 329923002: Remove platform.js from polymer.html, hint in the linter that it should be used (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 6 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/test/build/all_phases_test.dart
diff --git a/pkg/polymer/test/build/all_phases_test.dart b/pkg/polymer/test/build/all_phases_test.dart
index 5ec31f3729820d8653503e5ec98cef7ab12794e6..8aeb8b168f7cb6f7337bd3b333b77880ceef0495 100644
--- a/pkg/polymer/test/build/all_phases_test.dart
+++ b/pkg/polymer/test/build/all_phases_test.dart
@@ -23,7 +23,6 @@ void main() {
testPhases('no changes', phases, {
'a|web/test.html': '<!DOCTYPE html><html></html>',
}, {}, [
- 'warning: $USE_POLYMER_HTML',
'warning: $USE_INIT_DART'
]);
@@ -191,7 +190,9 @@ void main() {
'<script type="application/dart" src="b.dart"></script>',
'a|web/b.dart': _sampleInput('B', 'bar'),
'a|lib/test2.html':
- '<!DOCTYPE html><html><head></head><body>'
+ '<!DOCTYPE html><html><head>'
+ '<link rel="import" href="../../packages/polymer/polymer.html">'
+ '</head><body>'
'<polymer-element name="x-a">1'
'<script type="application/dart">'
'${_sampleInput("A", "foo")}</script>'
@@ -245,7 +246,9 @@ void main() {
'<link rel="import" href="packages/a/load_b.html">',
'a|lib/b.dart': _sampleInput('B', 'bar'),
'a|lib/test2.html':
- '<!DOCTYPE html><html><head></head><body>'
+ '<!DOCTYPE html><html><head>'
+ '<link rel="import" href="../../packages/polymer/polymer.html">'
+ '</head><body>'
'<polymer-element name="x-a">1'
'<script type="application/dart">'
'${_sampleInput("A", "foo")}</script>'

Powered by Google App Engine
This is Rietveld 408576698