mootools/mootools-core — pull request #2616 by arian (2014-06-16 11:06:07+00:00)
Title: Fixing hasClass without classList, which cannot use .contains anymore.

String.prototype.contains is now compatible with ES6, which doesn't
support the second 'separator' argument anymore.

Thanks @mrpapercut