require-handlebars-plugin icon indicating copy to clipboard operation
require-handlebars-plugin copied to clipboard

BUG IE8 - Wrap `forEach` with underscore.

Open ryan-roemer opened this issue 8 years ago • 0 comments

L321 breaks when in "dev mode" in IE8 for lack of wrapping .forEach with the _ version with this error:

msg: Object doesn't support this property or method
file: http://10.0.2.2:3001/node_modules/require-handlebars-plugin/hbs.js
line: 321
col: undefined
error: undefined

I also added the wrap on L656 for consistency, although that looks to be server-side...

ryan-roemer avatar Oct 16 '15 17:10 ryan-roemer