Skip to content

Commit ca4ec5a

Browse files
committedFeb 13, 2019
修复一处正则表达式错误(坑了4年的bug,好像也没影响)
1 parent 7e242f9 commit ca4ec5a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed
 

‎.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
upload/qiniu/config.php
1+
upload/qiniu/config.php
2+
.jshintrc

‎editormd/editormd.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3833,7 +3833,7 @@
38333833
callback = callback || function() {}
38343834
var script = null
38353835
script = document.createElement("script")
3836-
script.id = fileName.replace(/[\./]+/g, "-")
3836+
script.id = fileName.replace(/[\.\/]+/g, "-")
38373837
script.type = "text/javascript"
38383838
script.src = fileName + ".js"
38393839
if (editormd.isIE8) {

0 commit comments

Comments
 (0)
Please sign in to comment.