mirror of
https://github.com/jrconlin/oauthsimple.git
synced 2026-07-27 19:55:59 +00:00
Merge pull request #38 from artu-ole/master
Fix ReferenceError: module is not defined
This commit is contained in:
+1
-1
@@ -490,6 +490,6 @@ if (OAuthSimple === undefined)
|
||||
|
||||
|
||||
// CommonJS Support
|
||||
if (module && exports) {
|
||||
if (typeof exports === 'object' && typeof module !== 'undefined') {
|
||||
module.exports = OAuthSimple;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user