sync, 当前笔记冲突问题

sync当前笔记时,
1) 把服务器上的content->本地
2) changeNote此时会触发saveContent, 此时拿之前的content与新的content对比, 所以导致isDirty
This commit is contained in:
life
2015-03-14 14:17:02 +08:00
parent 3a78cca916
commit 2b809fd377
17 changed files with 189 additions and 81 deletions

5
node_modules/evt.js generated vendored
View File

@@ -16,8 +16,9 @@ if(!fs.existsSync(dataBasePath)) {
// dataBasePath = '';
var Evt = {
leanoteUrl: 'http://leanote.com',
// leanoteUrl: 'http://127.0.0.1:9000',
// leanoteUrl: 'http://leanote.com',
leanoteUrl: 'http://localhost:9000',
port: 8008,
localUrl: 'http://127.0.0.1:8008',
dataBasePath: '',