Skip to content
Browse files

Merge pull request #28 from mekwall/patch-1

super is a reserved word, changed to _super
  • Loading branch information...
2 parents ed97dc5 + ffc6939 commit 4c545e6b2a51962dabe716e00e494efdd0da6924 @bnoguchi committed Jul 6, 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 4c545e6

Please sign in to comment.
Something went wrong with that request. Please try again.