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

Side by Side Diff: sky/tests/modules/multiple-scripts-import.sky

Issue 938623005: Allow multiple dart <script> tags in .sky files (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: All works! 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 unified diff | Download patch
OLDNEW
(Empty)
1 <sky>
2 <import src='resources/multiple-scripts-child.sky' as='child'></import>
3 <script>
4 import "../resources/third_party/unittest/unittest.dart";
5 import "../resources/unit.dart";
6
7 import "dart:sky";
8 import "dart:sky.internals";
9
10 void main () {
11 initUnit();
12
13 test('multiple libraries should combine using "as"', () {
14 expect(child.one, 'one');
15 expect(child.two, 'two');
16 });
17 }
18 </script>
19 </sky>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698