-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2.x #6
base: 2.X
Are you sure you want to change the base?
2.x #6
Conversation
…browser environment Uncaught ReferenceError: module is not defined pimple.js:128
@@ -125,7 +129,7 @@ | |||
this.define('pimple',[],function(){return self.Pimple;}); | |||
} | |||
//CommonJS | |||
if(module && module.exports){ | |||
if(typeof exports !== 'undefined' && module && module.exports){ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do you need exports
do be defined? Isn't is enough with module.exports
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I don't remember. I have created my own Pimple repository for faster support and I used it. The Pull Request is dated end of december 2014, your question end of march 2016 ... Cancel this line, I don't remember and I don't see now why.
Have a nice day
No description provided.