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

Unified Diff: experimental/webtry/templates/workspace.html

Issue 242613005: iframe (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: experimental/webtry/templates/workspace.html
diff --git a/experimental/webtry/templates/workspace.html b/experimental/webtry/templates/workspace.html
index 3d7003512f48e1586ef5109187fc6acb58b0875b..4dab65b5c508c73e994907ad89983e089ce27831 100644
--- a/experimental/webtry/templates/workspace.html
+++ b/experimental/webtry/templates/workspace.html
@@ -8,12 +8,11 @@
<body>
{{template "titlebar.html"}}
<section id=content>
- <h1>Create</h1>
{{if .Name}}
<pre><code>#include "SkCanvas.h"
void draw(SkCanvas* canvas) {
- <textarea name='code' id='code' rows='15' cols='80'>{{.Code}}</textarea>
+ <textarea spellcheck=false name='code' id='code' rows='15' cols='80'>{{.Code}}</textarea>
}
</code></pre>
@@ -38,8 +37,9 @@ void draw(SkCanvas* canvas) {
// Set the workspace name so run.js also updates the history.
var workspaceName = "{{.Name}}";
</script>
- <script src="/js/run.js" type="text/javascript" charset="utf-8"></script>
+ <script src="/js/" type="text/javascript" charset="utf-8"></script>
{{else}}
+ <h1>Create</h1>
Create a new workspace:
<form action="." method="POST" accept-charset="utf-8">
<p><input type="submit" value="Create"></p>

Powered by Google App Engine
This is Rietveld 408576698