Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit e3718bccc566db02fadb69afd28a936c5049f501 1 parent eaf9d3f
@arian authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  Source/Native/String.js
View
2  Source/Native/String.js
@@ -14,6 +14,8 @@ provides: String
...
*/
+delete String.prototype.contains;
+
String.implement({
test: function(regex, params){
Please sign in to comment.
Something went wrong with that request. Please try again.