Permalink
Browse files

super is a reserved word, changed to _super

  • Loading branch information...
1 parent ed97dc5 commit ffc693980a32bf5569497899ba428da4a93a6290 @mekwall mekwall committed Jul 4, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/modules/everymodule.js
View
6 lib/modules/everymodule.js
@@ -33,13 +33,13 @@ var everyModule = module.exports = {
if (this.hasOwnProperty('init'))
delete this.init;
- var super = this.init;
+ var _super = this.init;
// since this.hasOwnProperty('init') is false
this.init = function () {
- this.super = super;
+ this._super = _super;
fn.apply(this, arguments);
- delete this.super;
+ delete this._super;
// Do module compilation here, too
};

0 comments on commit ffc6939

Please sign in to comment.