You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@marmotta.apache.org by wi...@apache.org on 2014/02/10 09:17:12 UTC

svn commit: r1566527 - /marmotta/site/trunk/content/resources/js/marmotta.js

Author: wikier
Date: Mon Feb 10 08:17:12 2014
New Revision: 1566527

URL: http://svn.apache.org/r1566527
Log:
enabled prettify

Modified:
    marmotta/site/trunk/content/resources/js/marmotta.js

Modified: marmotta/site/trunk/content/resources/js/marmotta.js
URL: http://svn.apache.org/viewvc/marmotta/site/trunk/content/resources/js/marmotta.js?rev=1566527&r1=1566526&r2=1566527&view=diff
==============================================================================
--- marmotta/site/trunk/content/resources/js/marmotta.js (original)
+++ marmotta/site/trunk/content/resources/js/marmotta.js Mon Feb 10 08:17:12 2014
@@ -45,6 +45,7 @@ if (typeof String.prototype.endsWith != 
 
 jQuery(document).ready(function() {
 
+    jQuery("pre").each(function() { jQuery(this).addClass("prettyprint"); });
     prettyPrint();
 
     //trick because markdown preprocessor doesn't allow us to write javascript there