Skip to content

Commit c87d7db

Browse files
committed
code format tweak
1 parent 2eb3d08 commit c87d7db

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

plugin/markdown/markdown.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -219,10 +219,8 @@
219219

220220
xhr.onreadystatechange = function() {
221221
if( xhr.readyState === 4 ) {
222-
if (
223-
(xhr.status >= 200 && xhr.status < 300) ||
224-
xhr.status === 0 // file protocol yields status code 0 (useful for local debug, mobile applications etc.)
225-
) {
222+
// file protocol yields status code 0 (useful for local debug, mobile applications etc.)
223+
if ( ( xhr.status >= 200 && xhr.status < 300 ) || xhr.status === 0 ) {
226224

227225
section.outerHTML = slidify( xhr.responseText, {
228226
separator: section.getAttribute( 'data-separator' ),

0 commit comments

Comments
 (0)