]>
BookStack Code Mirror - bookstack/commitdiff
projects
/
bookstack
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
4ad43b1
)
Normalize ini and properties values
1667/head
author
Connor O'Shea
<redacted>
Mon, 16 Sep 2019 00:24:47 +0000
(20:24 -0400)
committer
GitHub
<redacted>
Mon, 16 Sep 2019 00:24:47 +0000
(20:24 -0400)
resources/js/services/code.js
patch
|
blob
|
history
diff --git
a/resources/js/services/code.js
b/resources/js/services/code.js
index 7dddc92fd247f3fd11cc2b91bb8794a8e94c8607..f92752109ccda2f386ebd7956d1c6f6174fb7545 100644
(file)
--- a/
resources/js/services/code.js
+++ b/
resources/js/services/code.js
@@
-43,7
+43,7
@@
const modeMap = {
haskell: 'haskell',
hs: 'haskell',
html: 'htmlmixed',
- ini: '
text/x-
ini',
+ ini: 'ini',
javascript: 'javascript',
json: {name: 'javascript', json: true},
js: 'javascript',
@@
-56,7
+56,7
@@
const modeMap = {
ml: 'mllike',
nginx: 'nginx',
powershell: 'powershell',
- properties: '
text/x-
properties',
+ properties: 'properties',
ocaml: 'mllike',
php: 'php',
py: 'python',
hide
Morty Proxy
This is a
proxified and sanitized
view of the page, visit
original site
.