architecture refactor

This commit is contained in:
Manuel Araoz 2014-04-14 15:31:10 -03:00
commit 59c00da592
17 changed files with 151 additions and 47 deletions

24
js/models/storage/Base.js Normal file
View file

@ -0,0 +1,24 @@
'use strict';
var imports = require('soop').imports();
function Storage() {
}
// get value by key
Storage.prototype.get = function(k) {
};
// set value for key
Storage.prototype.set = function(k,v) {
};
// remove value for key
Storage.prototype.remove = function(k) {
};
// remove all values
Storage.prototype.clearAll = function() {
};
module.exports = require('soop')(Storage);