From dd5ad64e3ec6cf8926475af54139deed8640a9f9 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Sun, 24 Jul 2011 23:30:53 +0800 Subject: [PATCH] ux/Showdown.js --- ux/Showdown.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ux/Showdown.js b/ux/Showdown.js index 084a0f9d0a..e569e0f347 100644 --- a/ux/Showdown.js +++ b/ux/Showdown.js @@ -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); }; -- 2.39.2