Improve `String.prototype.endsWith` polyfill #555

Merged
merged 1 commit into from Dec 17, 2013

Conversation

Projects
None yet
2 participants
@mathiasbynens
Member

mathiasbynens commented Dec 17, 2013

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

Improve `String.prototype.endsWith` polyfill
This patch replaces the old `String.prototype.endsWith` polyfill with http://mths.be/endswith, while also adding the tests from that project.
@arv

This comment has been minimized.

Show comment
Hide comment
@arv

arv Dec 17, 2013

Collaborator

LGTM

Collaborator

arv commented Dec 17, 2013

LGTM

@arv arv merged commit 928cbdc into google:master Dec 17, 2013

mathiasbynens added a commit to mathiasbynens/String.prototype.endsWith that referenced this pull request Dec 17, 2013

@mathiasbynens mathiasbynens deleted the mathiasbynens:fix-String.prototype.endsWith branch Dec 17, 2013

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