simple, blue, black三种配色

This commit is contained in:
life
2015-03-04 01:20:54 +08:00
parent 55b650a086
commit 94f39da8b9
11 changed files with 378 additions and 31 deletions

4
node_modules/db.js generated vendored
View File

@@ -12,10 +12,10 @@ if(dbPath.length < 6) {
var dbPath = '/Users/life/Library/Application Support/Leanote' + '/nedb';
}
// console.log(",,,,,,,,,,,,,");
// console.log(dbPath);
// g, 表全局环境
var db = {};
var dbNames = ['notebooks', 'notes', 'users', 'tags', 'images', 'attachs', 'noteHistories'];
var dbNames = ['notebooks', 'notes', 'users', 'tags', 'images', 'attachs', 'noteHistories', 'g'];
for(var i in dbNames) {
var name = dbNames[i];
db[name] = new Datastore({ filename: path.join(dbPath, name + '.db'), autoload: true });