mirror of
https://github.com/go-gitea/gitea
synced 2025-08-23 09:58:27 +00:00
Update CodeMirror to version 5.49.0 (#8381)
* Update CodeMirror to version 5.49.0 * Update CodeMirror versions in librejs and VERSIONS
This commit is contained in:
committed by
Lauris BH
parent
6fa14ac3c8
commit
1e9b330525
@@ -9,7 +9,7 @@
|
||||
<script src="textile.js"></script>
|
||||
<style>.CodeMirror {background: #f8f8f8;}</style>
|
||||
<div id=nav>
|
||||
<a href="http://codemirror.net"><h1>CodeMirror</h1><img id=logo src="../../doc/logo.png"></a>
|
||||
<a href="https://codemirror.net"><h1>CodeMirror</h1><img id=logo src="../../doc/logo.png"></a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../index.html">Home</a>
|
||||
|
@@ -1,5 +1,5 @@
|
||||
// CodeMirror, copyright (c) by Marijn Haverbeke and others
|
||||
// Distributed under an MIT license: http://codemirror.net/LICENSE
|
||||
// Distributed under an MIT license: https://codemirror.net/LICENSE
|
||||
|
||||
(function() {
|
||||
var mode = CodeMirror.getMode({tabSize: 4}, 'textile');
|
||||
@@ -39,12 +39,12 @@
|
||||
'3 ** 3 = 27');
|
||||
|
||||
MT('simpleLink',
|
||||
'[link "CodeMirror":http://codemirror.net]');
|
||||
'[link "CodeMirror":https://codemirror.net]');
|
||||
|
||||
MT('referenceLink',
|
||||
'[link "CodeMirror":code_mirror]',
|
||||
'Normal Text.',
|
||||
'[link [[code_mirror]]http://codemirror.net]');
|
||||
'[link [[code_mirror]]https://codemirror.net]');
|
||||
|
||||
MT('footCite',
|
||||
'foo bar[qualifier [[1]]]');
|
||||
|
@@ -1,5 +1,5 @@
|
||||
// CodeMirror, copyright (c) by Marijn Haverbeke and others
|
||||
// Distributed under an MIT license: http://codemirror.net/LICENSE
|
||||
// Distributed under an MIT license: https://codemirror.net/LICENSE
|
||||
|
||||
(function(mod) {
|
||||
if (typeof exports == "object" && typeof module == "object") { // CommonJS
|
||||
@@ -203,7 +203,7 @@
|
||||
single: {
|
||||
bc: "bc",
|
||||
bq: "bq",
|
||||
definitionList: /- [^(?::=)]+:=+/,
|
||||
definitionList: /- .*?:=+/,
|
||||
definitionListEnd: /.*=:\s*$/,
|
||||
div: "div",
|
||||
drawTable: /\|.*\|/,
|
||||
|
Reference in New Issue
Block a user