couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From MikaelSoderstrom <...@git.apache.org>
Subject [GitHub] couchdb pull request: Add polyfill for IE8 Array.indexOf
Date Wed, 19 Feb 2014 10:37:13 GMT
Github user MikaelSoderstrom commented on the pull request:

    https://github.com/apache/couchdb/pull/153#issuecomment-35485395
  
    One of the benefits with jQuery is that it just works in all older and modern browsers
(if you are using 1.9.x that is). The drawback is that you will not the same performance as
the built-in functions.
    
    You can test $.inArray() and Array.prototype.indexOf here:
    http://jsperf.com/in-array-vs-inarray-vs-indexof
    
    If you can use the native methods, you should do that.
    
    And if we take a look at the ES5 support in browsers, we can see that IE 8 is the last
version of IE that doesn't have full support for this (IE 9 supports everything except strict
mode, which it will just ignore):
    http://kangax.github.io/es5-compat-table/
    
    Since IE 8 is the latest version that can be installed on Windows XP, and Microsoft is
not going to support Windows XP after april this year, I guess CouchDB shouldn't have to either.
    
    Is it really that important to support a browser that not even Microsoft is going to support
in 1½ month?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. To do so, please top-post your response.
If your project does not have this feature enabled and wishes so, or if the
feature is enabled but not working, please contact infrastructure at
infrastructure@apache.org or file a JIRA ticket with INFRA.
---

Mime
View raw message