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/index.html

Issue 261693003: Use CodeMirror for WebTry snippets. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Rebased. 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/index.html
diff --git a/experimental/webtry/templates/index.html b/experimental/webtry/templates/index.html
index 39f8d41b6b9bce74ceaf12032955576f5acf937f..f9ec733fdde9b205663008e521260fea6b5a7ab9 100644
--- a/experimental/webtry/templates/index.html
+++ b/experimental/webtry/templates/index.html
@@ -3,7 +3,13 @@
<head>
<title>Skia WebTry</title>
<meta charset='utf-8' />
- <link rel="stylesheet" href="/css/" type="text/css" media="screen">
+ <link rel="stylesheet" href="/res/css/webtry.css" type="text/css" media="screen">
+
+ <!-- CodeMirror resources -->
+ <script src="/res/js/cm/codemirror.js"></script>
jcgregorio 2014/05/01 13:27:30 Move js to content.html, keep the CSS here. Do th
jcgregorio 2014/05/01 14:11:25 Also the js and css imports for recent.html need t
f(malita) 2014/05/01 14:24:40 Done.
f(malita) 2014/05/01 14:24:40 Done.
+ <link rel="stylesheet" href="/res/css/cm/codemirror.css">
+ <link rel="stylesheet" href="/res/css/cm/ambiance.css">
+ <script src="/res/js/cm/clike.js"></script>
</head>
<body>
{{template "titlebar.html" .}}
@@ -13,6 +19,6 @@
// Not running in a workspace.
var workspaceName = "";
</script>
- <script src="/js/webtry.js" type="text/javascript" charset="utf-8"></script>
+ <script src="/res/js/webtry.js" type="text/javascript" charset="utf-8"></script>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698