We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
For some odd reason, IE8 isn't happy with this: https://github.com/visionmedia/express-expose/blob/master/lib/express-expose.js#L218
var test = test || {}; causes a problem. I'm guessing it has something to do with hoisting replacing the global variable.
var test = test || {};
In any case, swapping this,
return (i ? '' : 'var ') + part + ' = ' + part + ' || {};';
with this,
return (i ? '' : 'window.') + part + ' = window.' + part + ' || {};';
gets around the problem. Not sure you want to do that, just thought I'd point it out.
The text was updated successfully, but these errors were encountered:
crap yeah that's a bug on my part
Sorry, something went wrong.
want me to turn it into a pull request?
sure! that would be great
413628d
No branches or pull requests
For some odd reason, IE8 isn't happy with this:
https://github.com/visionmedia/express-expose/blob/master/lib/express-expose.js#L218
var test = test || {};
causes a problem. I'm guessing it has something to do with hoisting replacing the global variable.In any case, swapping this,
with this,
gets around the problem. Not sure you want to do that, just thought I'd point it out.
The text was updated successfully, but these errors were encountered: