mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-30 12:07:09 +00:00
:for debug only
git-svn-id: https://svn.fhem.de/fhem/trunk@27511 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
98bfe57a38
commit
04a3e7a53a
@ -4,8 +4,8 @@ var cm_loaded = 0;
|
|||||||
var cm_active = 0;
|
var cm_active = 0;
|
||||||
var cm_attr = {
|
var cm_attr = {
|
||||||
matchBrackets: true,
|
matchBrackets: true,
|
||||||
bracefold: true;
|
bracefold: true,
|
||||||
commentfold: true;
|
commentfold: true,
|
||||||
foldCode: true,
|
foldCode: true,
|
||||||
foldGutter: true,
|
foldGutter: true,
|
||||||
indentFold: true,
|
indentFold: true,
|
||||||
@ -97,7 +97,9 @@ function AddCodeMirror(e, cb) {
|
|||||||
cm_active++; loadScript("codemirror/foldcode.js", function(){cm_loaded++;} );
|
cm_active++; loadScript("codemirror/foldcode.js", function(){cm_loaded++;} );
|
||||||
}
|
}
|
||||||
if (cm_attr.foldGutter) {
|
if (cm_attr.foldGutter) {
|
||||||
cm_active++; loadScript("codemirror/foldgutter.js", function(){cm_loaded++;} );
|
cm_active++;
|
||||||
|
loadLink("codemirror/foldgutter.css");
|
||||||
|
loadScript("codemirror/foldgutter.js", function(){cm_loaded++;} );
|
||||||
}
|
}
|
||||||
if (cm_attr.indentFold) {
|
if (cm_attr.indentFold) {
|
||||||
cm_active++; loadScript("codemirror/indent-fold.js", function(){cm_loaded++;} );
|
cm_active++; loadScript("codemirror/indent-fold.js", function(){cm_loaded++;} );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user