Skip to content

Commit

Permalink
CommonJS module export
Browse files Browse the repository at this point in the history
  • Loading branch information
samyakbhuta committed May 27, 2013
1 parent 6ba9dd8 commit 9dcd880
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions lib/underscore.gu.js
Expand Up @@ -10,3 +10,13 @@ var _gu = {
},

};

// Exporting

// CommonJS module is defined
if (typeof exports !== 'undefined') {
if (typeof module !== 'undefined' && module.exports) {
module.exports = _gu;
}
exports._gu = _gu;
}

0 comments on commit 9dcd880

Please sign in to comment.