fix prettify naming (client side error)

This commit is contained in:
Pascal Deschenes 2012-11-01 14:07:53 -04:00
parent b9f38acb18
commit ddec23684f
3 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@
};
// Client-side export
if (typeof window !== 'undefined' && window.Showdown && window.Showdown.extensions) { window.Showdown.extensions.googlePrettify = prettify; }
if (typeof window !== 'undefined' && window.Showdown && window.Showdown.extensions) { window.Showdown.extensions.prettify = prettify; }
// Server-side export
if (typeof module !== 'undefined') module.exports = prettify;