Skip to content

Commit 2b9affb

Browse files
committed
fix: code style
Signed-off-by: Max Wu <jackymaxj@gmail.com>
1 parent 47bab42 commit 2b9affb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

public/js/extra.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -260,12 +260,12 @@ if (typeof window.mermaid !== 'undefined' && window.mermaid) {
260260
}
261261
}
262262

263-
function jsonp(url, callback) {
263+
function jsonp (url, callback) {
264264
const callbackName = 'jsonp_callback_' + Math.round(1000000000 * Math.random())
265265
window[callbackName] = function (data) {
266-
delete window[callbackName]
267-
document.body.removeChild(script)
268-
callback(data)
266+
delete window[callbackName]
267+
document.body.removeChild(script)
268+
callback(data)
269269
}
270270

271271
const script = document.createElement('script')

0 commit comments

Comments
 (0)