Remove electricCahrs and smart indent from code-mirror directives

Remove smartIndent. Polish.

Indent unit 0

Remove indent unit. Update the build.
This commit is contained in:
BoykoAlex
2017-01-30 16:54:21 -05:00
parent 72d01184bd
commit 1acc0768ec
4 changed files with 11 additions and 3 deletions

6
dist/spring-flo.js vendored
View File

@@ -10234,7 +10234,9 @@ define('controllers/dsl-editor',['require','angular','codemirror','codemirror/ad
hint: contentAssist
},
lineNumbers: true,
lineWrapping: true
lineWrapping: true,
electricChars: false,
smartIndent: false
};
if ($scope.scrollbarStyle) {
@@ -29972,6 +29974,8 @@ define('directives/generic-dsl-editor',['underscore','angular','codemirror','cod
extraKeys: {'Ctrl-Space': 'autocomplete'},
lineNumbers: attrs.lineNumbers && attrs.lineNumbers.toLowerCase() === 'true',
lineWrapping: attrs.lineWrapping && attrs.lineWrapping.toLowerCase() === 'true',
electricChars: false,
smartIndent: false
};
if (scope.scrollbarStyle) {

File diff suppressed because one or more lines are too long

View File

@@ -157,7 +157,9 @@ define(function (require) {
hint: contentAssist
},
lineNumbers: true,
lineWrapping: true
lineWrapping: true,
electricChars: false,
smartIndent: false
};
if ($scope.scrollbarStyle) {

View File

@@ -54,6 +54,8 @@ define(function () {
extraKeys: {'Ctrl-Space': 'autocomplete'},
lineNumbers: attrs.lineNumbers && attrs.lineNumbers.toLowerCase() === 'true',
lineWrapping: attrs.lineWrapping && attrs.lineWrapping.toLowerCase() === 'true',
electricChars: false,
smartIndent: false
};
if (scope.scrollbarStyle) {