presentation, fullscreen toggle; user state; animation loading;

This commit is contained in:
life
2015-03-06 22:13:27 +08:00
parent fe29869cc8
commit a836aa5a1f
24 changed files with 904 additions and 96 deletions

3
node_modules/user.js generated vendored
View File

@@ -243,8 +243,9 @@ User = {
}, callback);
*/
saveCurState: function(state, callback) {
var me = this;
state = state || {};
db.g.update({_id: '1'}, {$set: state}, {upsert: true}, function() {
db.users.update({_id: me.getCurActiveUserId()}, {$set: {State: state}}, function() {
callback && callback();
});
}