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

Side by Side Diff: sky/tests/resources/dump-as-text.sky

Issue 950493003: Add a basic sky-element custom element (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: 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
1 <script> 1 <script>
2 import "dart:sky" as sky; 2 import "dart:sky" as sky;
3 import "dart:sky.internals" as internals; 3 import "dart:sky.internals" as internals;
4 4
5 void handleLoadEvent(event) { 5 void handleLoadEvent(event) {
6 internals.notifyTestComplete(internals.contentAsText()); 6 internals.notifyTestComplete(internals.contentAsText());
7 } 7 }
8 8
9 void init() { 9 void _init(_) {
10 sky.window.addEventListener('load', handleLoadEvent); 10 sky.window.addEventListener('load', handleLoadEvent);
11 } 11 }
12 </script> 12 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698