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

Side by Side Diff: sky/sdk/lib/example/raw/touch-demo.sky

Issue 1218593002: Move sky/examples to sky/sdk/lib/example, and code changes to support that change. Fixes T277. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 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 unified diff | Download patch
OLDNEW
1 #!mojo mojo:sky_viewer 1 #!mojo mojo:sky_viewer
2 <sky> 2 <sky>
3 <import src="/packages/sky/framework/debug/shake-to-reload.sky" /> 3 <import src="/packages/sky/framework/debug/shake-to-reload.sky" />
4 <style> 4 <style>
5 dot { 5 dot {
6 position: absolute; 6 position: absolute;
7 height: 10px; 7 height: 10px;
8 width: 10px; 8 width: 10px;
9 background-color: #00FF00; 9 background-color: #00FF00;
10 border-radius: 5px; 10 border-radius: 5px;
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 } 61 }
62 62
63 void main() { 63 void main() {
64 document.addEventListener("pointerdown", moreDots); 64 document.addEventListener("pointerdown", moreDots);
65 document.addEventListener("pointermove", runToTheCenter); 65 document.addEventListener("pointermove", runToTheCenter);
66 document.addEventListener("pointerup", goAway); 66 document.addEventListener("pointerup", goAway);
67 document.addEventListener("pointercancel", stopDots); 67 document.addEventListener("pointercancel", stopDots);
68 } 68 }
69 </script> 69 </script>
70 </sky> 70 </sky>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698