Skip to content
This repository has been archived by the owner on Apr 22, 2020. It is now read-only.

Commit

Permalink
cleanup source code and updated link to most recent distro.
Browse files Browse the repository at this point in the history
  • Loading branch information
mikesamuel committed Jul 5, 2008
1 parent e351373 commit fb81836
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ <h1>Javascript code prettifier</h1>

<h2>Setup</h2>
<ol>
<li><a href="http://google-code-prettify.googlecode.com/files/prettify-small.zip">Download</a> a distribution
<li><a href="http://google-code-prettify.googlecode.com/files/prettify-small-4-Jul-2008.zip">Download</a> a distribution
<li>Include the script and stylesheets in your document
(you will need to make sure the css and js file are on your server, and
adjust the paths in the <tt>script</tt> and <tt>link</tt> tag)
Expand Down
10 changes: 5 additions & 5 deletions src/prettify.js
Original file line number Diff line number Diff line change
Expand Up @@ -893,7 +893,7 @@ function pr_isIE6() {
* @param {string} sourceText plain text
* @param {Array.<number|string>} extractedTags chunks of raw html preceded
* by their position in sourceText in order.
* @param {Array.<number|string> decorations style classes preceded by their
* @param {Array.<number|string>} decorations style classes preceded by their
* position in sourceText in order.
* @return {string} html
* @private
Expand Down Expand Up @@ -1172,8 +1172,8 @@ function pr_isIE6() {
doWork();
}

this.PR_normalizedHtml = normalizedHtml;
this.prettyPrintOne = prettyPrintOne;
this.prettyPrint = prettyPrint;
this.PR_registerLangHandler = registerLangHandler;
window.PR_normalizedHtml = normalizedHtml;
window.prettyPrintOne = prettyPrintOne;
window.prettyPrint = prettyPrint;
window.PR_registerLangHandler = registerLangHandler;
})();

0 comments on commit fb81836

Please sign in to comment.