Expose settings on pad object.

pull/371/head
Chad Weider 2012-01-26 21:40:13 -08:00
parent e68643b67e
commit 56c07e484a
1 changed files with 12 additions and 8 deletions

View File

@ -24,14 +24,6 @@
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 getCollabClient = require('/collab_client').getCollabClient;
var padconnectionstatus = require('/pad_connectionstatus').padconnectionstatus;
@ -981,6 +973,18 @@ var alertBar = (function()
return self;
}());
var settings = {
LineNumbersDisabled: false
, noColors: false
, useMonospaceFontGlobal: false
, globalUserName: false
, hideQRCode: false
, rtlIsTrue: false
};
pad.settings = settings;
exports.settings = settings;
exports.createCookie = createCookie;
exports.readCookie = readCookie;