forked from jshint/jshint
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't extend String.prototype with non-standard methods.
Extending String.prototype is generally a not very wise idea that leads to embarassing bugs such as jshintGH-518. This patch removes all instances of JSHint extending String.prototype with non-standard methods and removes two of them completely because they were not used. Closes jshintGH-518.
- Loading branch information
1 parent
b9e9bfa
commit 7cf5807
Showing
1 changed file
with
16 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters