am 945ed36e: docs: add the ability to exclude PRE elements from being prettified by adding the class "no-pretty-print" (needs to hyphenate \'prettyprint\', otherwise the prettify script will parse "no-prettyprint" the same as "prettyprint")

Merge commit '945ed36ec486f83c4546cac8d6bed954dfe32c4e' into eclair-plus-aosp

* commit '945ed36ec486f83c4546cac8d6bed954dfe32c4e':
  docs: add the ability to exclude PRE elements from being prettified
This commit is contained in:
Scott Main 2010-01-19 11:13:44 -08:00 committed by Android Git Automerger
commit daa3b7a469
1 changed files with 1 additions and 1 deletions

View File

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