| OLD | NEW |
| 1 | 1 |
| 2 <section id=content> | 2 <section id=content> |
| 3 <pre><code>#include "SkCanvas.h" | 3 <pre> |
| 4 | 4 <textarea spellcheck=false name='code' id='code' rows='15' cols='80'>{{.Code
}}</textarea> |
| 5 void draw(SkCanvas* canvas) { | 5 </pre> |
| 6 <textarea spellcheck=false name='code' id='code' rows='15' cols='80'>{{.Code}}
</textarea> | |
| 7 } | |
| 8 </code></pre> | |
| 9 | 6 |
| 10 <input type='button' value='Run' id='run'> | 7 <input type='button' value='Run' id='run'> |
| 11 <a href='{{if .Hash}}/c/{{.Hash}}{{end}}' target=_blank id=permalink>Share</a> | 8 <a href='{{if .Hash}}/c/{{.Hash}}{{end}}' target=_blank id=permalink>Share</a> |
| 12 | 9 |
| 13 <input type='button' value='Embed' id='embedButton' disabled/> | 10 <input type='button' value='Embed' id='embedButton' disabled/> |
| 14 <input type="text" value="" id="embed" readonly style="display:none;"> | 11 <input type="text" value="" id="embed" readonly style="display:none;"> |
| 15 | 12 |
| 16 <p> | 13 <p> |
| 17 <img class='zoom' id='img' src='{{if .Hash}}/i/{{.Hash}}.png{{end}}'/> | 14 <img class='zoom' id='img' src='{{if .Hash}}/i/{{.Hash}}.png{{end}}'/> |
| 18 </p> | 15 </p> |
| 19 | 16 |
| 20 <h2>Warnings and Errors</h2> | 17 <h2>Warnings and Errors</h2> |
| 21 <pre><code id='output'></code></pre> | 18 <pre><code id='output'></code></pre> |
| 22 <h2>Runtime output</h2> | 19 <h2>Runtime output</h2> |
| 23 <pre id='stdout'></pre> | 20 <pre id='stdout'></pre> |
| 24 | 21 |
| 25 </section> | 22 </section> |
| OLD | NEW |