OSDN Git Service

am 945ed36e: docs: add the ability to exclude PRE elements from being prettified...
authorScott Main <smain@google.com>
Tue, 19 Jan 2010 19:13:44 +0000 (11:13 -0800)
committerAndroid Git Automerger <android-git-automerger@android.com>
Tue, 19 Jan 2010 19:13:44 +0000 (11:13 -0800)
Merge commit '945ed36ec486f83c4546cac8d6bed954dfe32c4e' into eclair-plus-aosp

* commit '945ed36ec486f83c4546cac8d6bed954dfe32c4e':
  docs: add the ability to exclude PRE elements from being prettified

tools/droiddoc/templates/assets/android-developer-docs.js

index 1099e6e..dfe8fa1 100644 (file)
@@ -64,7 +64,7 @@ addLoadEvent( function() {
 } );
 
 addLoadEvent( function() {
-  $("pre").addClass("prettyprint");
+  $("pre:not(.no-pretty-print)").addClass("prettyprint");
   prettyPrint();
 } );