ux/Showdown.js
authorAlan Knowles <alan@akbkhome.com>
Sun, 24 Jul 2011 15:30:53 +0000 (23:30 +0800)
committerAlan Knowles <alan@akbkhome.com>
Sun, 24 Jul 2011 15:30:53 +0000 (23:30 +0800)
ux/Showdown.js

index 084a0f9..e569e0f 100644 (file)
@@ -49,7 +49,7 @@
 //
 // Showdown usage:
 // 
-//   alert( Roo.ux.Showdown.makeHtml("Markdown *rocks*.") );
+//   alert( Roo.ux.Showdown.toHtml("Markdown *rocks*.") );
 // 
 // Note: move the sample code to the bottom of this
 // file before uncommenting it.
@@ -61,7 +61,7 @@
 //
 Roo.namespace('Roo.ux'); 
 Roo.ux.Showdown = {};
-Roo.ux.Showdown.makeHtml = function(text) {
+Roo.ux.Showdown.toHtml = function(text) {
     var c = new Roo.ux.Showdown.converter();
     return c.makeHtml(text);
 };