From ed768ebc53ef6746ca83d81892c22d2e9c3afeef Mon Sep 17 00:00:00 2001 From: Misko Hevery Date: Mon, 31 Jan 2011 11:55:44 -0800 Subject: Developer guide documentation --- docs/src/templates/doc_widgets.js | 1 + 1 file changed, 1 insertion(+) (limited to 'docs/src/templates/doc_widgets.js') diff --git a/docs/src/templates/doc_widgets.js b/docs/src/templates/doc_widgets.js index 39b9ff48..bfa8e5d0 100644 --- a/docs/src/templates/doc_widgets.js +++ b/docs/src/templates/doc_widgets.js @@ -56,6 +56,7 @@ }); function indent(text) { + if (!text) return text; var lines = text.split(/\n/); var lineNo = []; // remove any leading blank lines -- cgit v1.2.3