Skip to content

Commit

Permalink
Merge pull request #38 from artu-ole/master
Browse files Browse the repository at this point in the history
Fix ReferenceError: module is not defined
  • Loading branch information
jrconlin authored Feb 22, 2018
2 parents 0728505 + dd4246c commit b89f20c
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 b89f20c

Please sign in to comment.