Skip to content

Commit

Permalink
Spade should no longer register itself
Browse files Browse the repository at this point in the history
  • Loading branch information
wagenet committed Jun 24, 2011
1 parent 0d96f2f commit e0c69c7
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions lib/spade.js
Expand Up @@ -905,16 +905,11 @@ var spade ;
this.compiler = new this.Compiler(this);
this._factories = {};
this._packages = {};

// register this instance as the result of the spade package.
var inst = this;
this.register('spade', { "name": "spade", "version": this.VERSION });
this.register('spade/main', function(r, e, m) { m.exports = inst; });
};

Tp = Spade.prototype;

Tp.VERSION = "0.1.0";
Tp.VERSION = "0.1.1";

// expose the classes. We do it this way so that you can create a new
// Spade instance and treat it like the spade module
Expand Down

0 comments on commit e0c69c7

Please sign in to comment.