Permalink
Browse files

started developping caching

  • Loading branch information...
1 parent 9222485 commit a9183115655a5524627453f099272a602c287408 @Floby committed Oct 22, 2010
Showing with 15 additions and 0 deletions.
  1. +15 −0 lib/cache.js
View
@@ -0,0 +1,15 @@
+var EventEmitter = require('event').EventEmitter;
+var sys = require('sys');
+function Cache(options) {
+ EventEmitter.apply(this);
+
+ var default = {
+ };
+ this._options = options;
+ this._options.__proto__ = default;
+}
+sys.inherits(Cache, EventEmitter);
+
+Cache.prototype.set = function(key, value, data) {
+
+};

0 comments on commit a918311

Please sign in to comment.