Skip to content

Conversation

mathiasbynens
Copy link
Member

This patch replaces the old String.prototype.contains polyfill with http://mths.be/contains, while also adding the tests from that project.

This patch replaces the old `String.prototype.contains` polyfill with http://mths.be/contains, while also adding the tests from that project.
@arv
Copy link
Contributor

arv commented Dec 17, 2013

LGTM

I didn't know that contains takes a position param. I guess it makes sense even though I don't think we should have added the position parameters to these in the first place.

@arv arv merged commit 18c5d55 into google:master Dec 17, 2013
mathiasbynens added a commit to mathiasbynens/String.prototype.includes that referenced this pull request Dec 18, 2013
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

Successfully merging this pull request may close these issues.

2 participants