From c87d7db93064bac472e1cc80bee28c4dcc92565b Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Sun, 6 Apr 2014 10:18:38 +0200 Subject: [PATCH] code format tweak --- plugin/markdown/markdown.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/plugin/markdown/markdown.js b/plugin/markdown/markdown.js index 9c0c91ad..9afee065 100755 --- a/plugin/markdown/markdown.js +++ b/plugin/markdown/markdown.js @@ -219,10 +219,8 @@ xhr.onreadystatechange = function() { if( xhr.readyState === 4 ) { - if ( - (xhr.status >= 200 && xhr.status < 300) || - xhr.status === 0 // file protocol yields status code 0 (useful for local debug, mobile applications etc.) - ) { + // file protocol yields status code 0 (useful for local debug, mobile applications etc.) + if ( ( xhr.status >= 200 && xhr.status < 300 ) || xhr.status === 0 ) { section.outerHTML = slidify( xhr.responseText, { separator: section.getAttribute( 'data-separator' ),