From c8009abcce562198cbc3930ed11f74dd62eba531 Mon Sep 17 00:00:00 2001 From: John Resig Date: Fri, 1 Sep 2006 05:52:26 +0000 Subject: Lots of documentation overhaul - much more documented, cat output works better now. --- build/docs/js/doc.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'build/docs/js') diff --git a/build/docs/js/doc.js b/build/docs/js/doc.js index ec52b664d..e5f7fcb9a 100644 --- a/build/docs/js/doc.js +++ b/build/docs/js/doc.js @@ -17,9 +17,11 @@ $(document).ready(function(){ }).ToolTipDemo('#fff'); $("a.name").click(function(){ - $("div.more,div.short",this.parentNode.parentNode).toggle('slow').find("div.desc",function(){ - $(this).html( $(this).html().replace(/\n\n/g, "

") ); - }); + $("div.more,div.short",this.parentNode.parentNode) + .find("div.desc",function(){ + $(this).html( $(this).html().replace(/\n\n/g, "

") ); + }) + .toggle('slow'); return false; }); -- cgit v1.2.3