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:
@@ -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