Remove unused code

This commit is contained in:
Wu Cheng-Han 2016-10-10 20:26:12 +08:00
parent 1cae0c5b7f
commit 7a85d62b77
1 changed files with 0 additions and 2 deletions

View File

@ -2489,7 +2489,6 @@ socket.on('permission', function (data) {
updatePermission(data.permission);
});
var docmaxlength = null;
var otk = null;
var owner = null;
var permission = null;
socket.on('refresh', function (data) {
@ -2498,7 +2497,6 @@ socket.on('refresh', function (data) {
//console.log(data);
docmaxlength = data.docmaxlength;
editor.setOption("maxLength", docmaxlength);
otk = data.otk;
owner = data.owner;
updatePermission(data.permission);
updateLastInfo(data);