Skip to content

Commit

Permalink
Fix ReferenceError: module is not defined
Browse files Browse the repository at this point in the history
  • Loading branch information
artu-ole committed Feb 21, 2018
1 parent 0728505 commit dd4246c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/OAuthSimple.js
Original file line number Diff line number Diff line change
Expand Up @@ -490,6 +490,6 @@ if (OAuthSimple === undefined)


// CommonJS Support
if (module && exports) {
if (typeof exports === 'object' && typeof module !== 'undefined') {
module.exports = OAuthSimple;
}

0 comments on commit dd4246c

Please sign in to comment.