Shopify/batman — comment on commit a78470c137cfa047f3f89986559ef80352ab24a0
File: src/batman.coffee line 5181
By johnthethird:

This is a problem in FF9/OSX. Try this in the console:
"foo".replace("foo","bar",undefined)
which throws an error
invalid regular expression flag u