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

Unified Diff: sky/tests/modules/resources/with-dart-import.sky

Issue 938623005: Allow multiple dart <script> tags in .sky files (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Update test results Created 5 years, 10 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 | « sky/tests/modules/resources/multiple-scripts-child.sky ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/tests/modules/resources/with-dart-import.sky
diff --git a/sky/tests/modules/resources/with-dart-import.sky b/sky/tests/modules/resources/with-dart-import.sky
new file mode 100644
index 0000000000000000000000000000000000000000..a8fce617f105f46e194fa39dbbc60f9e6875c7e6
--- /dev/null
+++ b/sky/tests/modules/resources/with-dart-import.sky
@@ -0,0 +1,12 @@
+<script>
+import 'dart-import.dart' as base;
+// Use the dart import so it doesn't ignore it.
+class TestClass extends base.BaseClass {
+}
+
+bool didInit = false;
+
+void init() {
+ didInit = (new TestClass() != null);
+}
+</script>
« no previous file with comments | « sky/tests/modules/resources/multiple-scripts-child.sky ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698