Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

corrected bug in calling addClass

  • Loading branch information...
commit bd81103d3062ffb8fcfca1dc849b0c0bcc6393fc 1 parent d101fbb
@mnewt authored
Showing with 3 additions and 2 deletions.
  1. +2 −1  README.md
  2. +1 −1  styleCode.js
View
3  README.md
@@ -38,7 +38,8 @@ http://google-code-prettify.googlecode.com/svn/trunk/styles/index.html
[jmblog](https://github.com/jmblog) maintains some nice themes:
http://jmblog.github.com/color-themes-for-google-code-prettify/
-Lastly, here are some themes I'm hosting. They are slightly modified versions of the ones found above.
+Lastly, here are some themes hosted here. They are slightly modified versions of the ones found above.
+ * http://mnewt.github.com/prettify-wrapper/themes/prettify.css
* http://mnewt.github.com/prettify-wrapper/themes/tomorrow-mnewt.css
* http://mnewt.github.com/prettify-wrapper/themes/tomorrow-night-mnewt.css
* http://mnewt.github.com/prettify-wrapper/themes/tomorrow-night-eighties-mnewt.css
View
2  styleCode.js
@@ -17,7 +17,7 @@ function styleCode()
var matches = document.body.getElementsByTagName("pre");
for (var i = 0; i < matches.length; ++i)
{
- addClass("prettyprint", matches[i]);
+ addClass(matches[i], "prettyprint");
a = true;
}
if (a) { prettyPrint() }
Please sign in to comment.
Something went wrong with that request. Please try again.