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:
6
dist/spring-flo.js
vendored
6
dist/spring-flo.js
vendored
@@ -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) {
|
||||
|
||||
2
dist/spring-flo.min.js
vendored
2
dist/spring-flo.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -157,7 +157,9 @@ define(function (require) {
|
||||
hint: contentAssist
|
||||
},
|
||||
lineNumbers: true,
|
||||
lineWrapping: true
|
||||
lineWrapping: true,
|
||||
electricChars: false,
|
||||
smartIndent: false
|
||||
};
|
||||
|
||||
if ($scope.scrollbarStyle) {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user