要开始写 window resize,有点小激动啊

This commit is contained in:
Van 2015-12-05 10:20:38 +08:00
parent 8f4fc25324
commit b44fd6d959
2 changed files with 6 additions and 6 deletions

View File

@ -13,7 +13,7 @@
"Keymap": "wide",
"Created": 1414080000000000000,
"Updated": 1414080000000000000,
"Lived": 1414080000000000000,
"Lived": 1443837436994469575,
"Editor": {
"FontFamily": "Consolas, 'Courier New', monospace",
"FontSize": "13px",
@ -22,7 +22,10 @@
"TabSize": "4"
},
"LatestSessionContent": {
"FileTree": [],
"FileTree": [
"/Users/Vanessa/Work/GoGoGo/src",
"/Users/Vanessa/Work/GoGoGo/src/2"
],
"Files": [],
"CurrentFile": "",
"FileTreeLayout": null,

View File

@ -160,9 +160,7 @@ var session = {
};
sessionWS.onmessage = function (e) {
console.log('[session onmessage]' + e.data);
var data = JSON.parse(e.data);
switch (data.cmd) {
case 'create-file':
var node = tree.fileTree.getNodeByTId(tree.getTIdByPath(data.dir)),
@ -192,7 +190,6 @@ var session = {
"isParent": true
}]);
}
break;
case 'remove-file':
case 'rename-file':