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 11:57:38 GMT
Github user MikaelSoderstrom commented on the pull request:

    https://github.com/apache/couchdb/pull/153#issuecomment-35491040
  
    > really, I don't think that performance is matters in place of locating user role
in the list that almost always has 1-2-3 elements, max 10 elements.
    
    Absolutely, but when you can use the standardized methods, I think you should. :) Another
solution would be to use [underscore](http://underscorejs.org/), but I still prefer Array.prototype.indexOf
in this case (and use the shim in older browsers).


---
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