Skip to content
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

Only IE9? #2

Open
augustl opened this issue Jul 13, 2011 · 4 comments
Open

Only IE9? #2

augustl opened this issue Jul 13, 2011 · 4 comments

Comments

@augustl
Copy link

augustl commented Jul 13, 2011

Doesn't https://github.com/kriskowal/qq/blob/2357793f59a8f5d04e8e/qq.js#L123 make qq only work in IE9? Afaik IE8 and lower doesn't have Array#reduce.

@kriskowal
Copy link
Owner

I’ll have to refactor with this shim in Q
https://github.com/kriskowal/q/blob/master/q.js#L80-85

Thanks

@augustl
Copy link
Author

augustl commented Jul 13, 2011

Ah. Would make sense of Q to expose it as Q._internals.reduce, or whatever.

@kriskowal
Copy link
Owner

Yes, for values of "whatever" that I would like to be "Array.prototype.reduce" to keep things straightforward and difficult to abuse. :P

@kriskowal
Copy link
Owner

Still working on this. I fixed it by making Q shim Array.prototype.reduce, but this adds an enumerable property to all arrays in old and busted browsers, which doesn’t help you. I’m still looking for a good solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants