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

IE does not support 'reduce' string method. #90

Closed
drypot opened this issue Apr 26, 2012 · 3 comments
Closed

IE does not support 'reduce' string method. #90

drypot opened this issue Apr 26, 2012 · 3 comments

Comments

@drypot
Copy link

drypot commented Apr 26, 2012

I have error like this.


Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C)
Timestamp: Thu, 26 Apr 2012 09:44:47 UTC

Message: Object doesn't support this property or method
Line: 402
Char: 5
Code: 0
URI: http://sleek:8080/lib/superagent.js

@drypot
Copy link
Author

drypot commented Apr 26, 2012

It was not string method, but array method. ;)

and I found this work around.

https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/array/reduce#Browser_compatibility

@tj
Copy link
Contributor

tj commented Apr 26, 2012

haha my bad, habit of not caring for shitty browsers. we dont need to use reduce, a simple for loop will do

@enyo
Copy link

enyo commented Nov 19, 2012

Any update on that?

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

No branches or pull requests

3 participants