Skip to content

Commit

Permalink
Fix module/ender support
Browse files Browse the repository at this point in the history
  • Loading branch information
makeable committed Oct 26, 2011
1 parent f870074 commit 9ef5c4f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion exports/ender.js
@@ -1,5 +1,5 @@
!function($) {
var notificon = require('../notificon.js');
var notificon = require('notificon');
$.ender({
notificon: notificon
});
Expand Down
2 changes: 1 addition & 1 deletion notificon.js
Expand Up @@ -161,7 +161,7 @@ or implied, of Matt Williams.
};

if (typeof exports !== 'undefined') {
exports = Notificon;
module.exports = Notificon;
} else {
this.Notificon = Notificon;
}
Expand Down

0 comments on commit 9ef5c4f

Please sign in to comment.