Expose settings on pad object.
This commit is contained in:
parent
e68643b67e
commit
56c07e484a
|
@ -24,14 +24,6 @@
|
||||||
|
|
||||||
var socket;
|
var socket;
|
||||||
|
|
||||||
var settings = {};
|
|
||||||
settings.LineNumbersDisabled = false;
|
|
||||||
settings.noColors = false;
|
|
||||||
settings.useMonospaceFontGlobal = false;
|
|
||||||
settings.globalUserName = false;
|
|
||||||
settings.hideQRCode = false;
|
|
||||||
settings.rtlIsTrue = false;
|
|
||||||
|
|
||||||
var chat = require('/chat').chat;
|
var chat = require('/chat').chat;
|
||||||
var getCollabClient = require('/collab_client').getCollabClient;
|
var getCollabClient = require('/collab_client').getCollabClient;
|
||||||
var padconnectionstatus = require('/pad_connectionstatus').padconnectionstatus;
|
var padconnectionstatus = require('/pad_connectionstatus').padconnectionstatus;
|
||||||
|
@ -981,6 +973,18 @@ var alertBar = (function()
|
||||||
return self;
|
return self;
|
||||||
}());
|
}());
|
||||||
|
|
||||||
|
|
||||||
|
var settings = {
|
||||||
|
LineNumbersDisabled: false
|
||||||
|
, noColors: false
|
||||||
|
, useMonospaceFontGlobal: false
|
||||||
|
, globalUserName: false
|
||||||
|
, hideQRCode: false
|
||||||
|
, rtlIsTrue: false
|
||||||
|
};
|
||||||
|
|
||||||
|
pad.settings = settings;
|
||||||
|
|
||||||
exports.settings = settings;
|
exports.settings = settings;
|
||||||
exports.createCookie = createCookie;
|
exports.createCookie = createCookie;
|
||||||
exports.readCookie = readCookie;
|
exports.readCookie = readCookie;
|
||||||
|
|
Loading…
Reference in New Issue