Chrome 52 errors


I’m suddenly receiving a lot of errors like:

_.contains is not a function

I think it using lodash instead of underscore suddenly… The error occurs on a (legacy) no-import Blaze template.

It seems to be due to a browser update (Chrome 52).

Anyone else seeing this?

Edit: FYI, it’s easily fixed by putting the following on top of the template:

import _ from 'underscore';