x-tag / core

The Heart of X-Tag
http://x-tag.github.io/
Other
1.25k stars 151 forks source link

flags argument of String.prototype.{search,match,replace} is deprecated #135

Closed brylie closed 8 years ago

brylie commented 8 years ago

Error

flags argument of String.prototype.{search,match,replace} is deprecated

selector = attr + (selector + '').replace(',', ',' + attr, 'g');

http://x-tag.github.io/js/x-tag-components.js
Line 4564

Environment

Firefox 41.0.2 Ubuntu

Related

127

csuwildcat commented 8 years ago

Fixed in master: https://github.com/x-tag/core/commit/1640ff7a1832093cd92fe0d03acf5ce198d2ea93#diff-7eb52b366866677666470e019283c8eaR658