Skip to content

Commit 465800c

Browse files
Merge pull request #2 from mickmcgrath13/1-turn-off-async-prettyprint
1 - turn off async prettyPrint
2 parents 118c6c5 + 20e8ec7 commit 465800c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

prettify.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,7 @@ module.exports = function(){
99
code.className = code.className +" prettyprint";
1010
}
1111
}
12+
//turn off batching (https://github.com/google/code-prettify/blob/master/src/prettify.js#L142)
13+
window.PR_SHOULD_USE_CONTINUATION = false;
1214
prettyPrint();
1315
}

0 commit comments

Comments
 (0)