Permalink
Browse files

Fixes #2402 for 1.2. Overwrite String.prototype.contains with the Moo…

…Tools version.

Firefox 18 implements .contains, and ES6 might do that as well. That breaks
some stuff, so we have to make sure it's overwritten with the 'correct'
MooTools version.
  • Loading branch information...
1 parent eaf9d3f commit e3718bccc566db02fadb69afd28a936c5049f501 @arian committed Jan 15, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 Source/Native/String.js
@@ -14,6 +14,8 @@ provides: String
...
*/
+delete String.prototype.contains;
+
String.implement({
test: function(regex, params){

0 comments on commit e3718bc

Please sign in to comment.