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

Side by Side Diff: src/site/samples/raf/index.markdown

Issue 35563005: Added landing pages for new samples (Closed) Base URL: https://github.com/dart-lang/dartlang.org.git@master
Patch Set: Added samples to be released to yaml file Created 7 years, 2 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 --- 1 ---
2 layout: default 2 layout: default
3 title: Leaner, Meaner, Faster Animations with requestAnimationFrame 3 title: Leaner, Meaner, Faster Animations with requestAnimationFrame
4 live_example_url: /samples/raf/example/index.html 4 live_example_url: /samples/raf/example/index.html
5 header: 5 header:
6 css: ["/samples/samples.css"] 6 css: ["/samples/samples.css"]
7 --- 7 ---
8 8
9 ## {{ page.title }} 9 ## {{ page.title }}
10 10
11 This sample ports the example used in 11 This sample ports the example used in
12 [this HTML5Rocks article](http://www.html5rocks.com/en/tutorials/speed/animation s/) 12 [this HTML5Rocks article](http://www.html5rocks.com/en/tutorials/speed/animation s/)
13 by Paul Lewis about correctly using requestAnimationFrame for your animations. 13 by Paul Lewis about correctly using requestAnimationFrame for your animations.
14 14
15 Use the up and down keys on your keyboard to activate the animation. 15 Use the up and down keys on your keyboard to activate the animation.
16 16
17 Read the 17 Read the
18 [source](https://github.com/dart-lang/dart-samples/tree/master/web/html5/speed/a nimations). 18 [source](https://github.com/dart-lang/dart-samples/tree/master/web/html5/speed/a nimations).
19 19
20 <iframe class="running-app-frame" 20 <iframe class="running-app-frame"
21 style="height:400px;width:100%;" 21 style="height:400px;width:100%;"
22 src="{{page.live_example_url}}"> 22 src="{{page.live_example_url}}">
23 </iframe> 23 </iframe>
24 24
25 See all [samples](/samples/) 25 See all [samples](/samples/).
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698