Migrate indentation settings to a settings subobject
This commit is contained in:
@@ -81,7 +81,7 @@ define([
|
||||
};
|
||||
|
||||
var andThen = function (editor, CodeMirror, common) {
|
||||
var readOnly = false; // TODO
|
||||
var readOnly = false;
|
||||
var cpNfInner;
|
||||
var metadataMgr;
|
||||
var onLocal;
|
||||
@@ -113,8 +113,6 @@ define([
|
||||
var indentKey = 'cryptpad.indentUnit';
|
||||
var useTabsKey = 'cryptpad.indentWithTabs';
|
||||
|
||||
//var proxy = Cryptpad.getProxy();
|
||||
|
||||
var updateIndentSettings = function () {
|
||||
var indentUnit = proxy[indentKey];
|
||||
var useTabs = proxy[useTabsKey];
|
||||
|
||||
Reference in New Issue
Block a user