save/recover state

This commit is contained in:
life
2015-03-04 21:50:20 +08:00
parent 5546fbf0fb
commit 918d8c2e40
13 changed files with 315 additions and 43 deletions

7
node_modules/evt.js generated vendored
View File

@@ -26,6 +26,9 @@ var Evt = {
getAttachLocalUrl: function(fileId) {
return this.localUrl + '/api/file/getAttach?fileId=' + fileId;
},
getAllAttachLocalUrl: function(noteId) {
return this.localUrl + '/api/file/getAllAttachs?noteId=' + noteId;
},
// 项目绝对地址
getBasePath: function() {
var me = this;
@@ -39,8 +42,8 @@ var Evt = {
},
setDataBasePath: function(dataBasePath) {
var me = this;
console.log('...........')
console.log(dataBasePath);
// console.log('...........')
// console.log(dataBasePath);
me.dataBasePath = dataBasePath;
}
};