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

View file

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