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

Unified Diff: tools/sodium/sodium.js

Issue 36833002: Fix bugs in Sodium (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/objects.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/sodium/sodium.js
diff --git a/tools/sodium/sodium.js b/tools/sodium/sodium.js
index 44475a177f77151e6fddf78438ce03d899e71cc4..56abe4382e2d0b914660a8c2ba8d9b90b0fceb24 100644
--- a/tools/sodium/sodium.js
+++ b/tools/sodium/sodium.js
@@ -342,7 +342,7 @@ var Sodium = (function() {
var source = getCurrentSourceText();
var sourceDivElement = document.getElementById('source-text');
var code = getCurrentCodeObject();
- var newHtml = "<pre class=\"prettyprint linenums\" id=\"source-text\">"
+ var newHtml = "<pre class=\"prettyprint linenums\" id=\"source-text-pre\">"
Dmitry Lomov (no reviews) 2013/10/23 09:06:50 Construct this with createElement instead of HTML
+ 'function ' + code.name + source + "</pre>";
sourceDivElement.innerHTML = newHtml;
try {
« no previous file with comments | « src/objects.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698