underscore: Version 1.9.2 no longer works with ExtendScript .jsx
// #include "underscore-1.8.3.js"
#include "underscore-1.9.2.js"
var artists = ['Pharrel Williams', 'Led Zeppelin', 'Rolling Stones'];
_.each(artists, function(artist, index, artists) {
alert('artist: ' + artist);
});
Error : _ is undefined
Now try version 1.8.3 it works like a charm
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 15 (1 by maintainers)
Commits related to this issue
- Take this from an isolated script context Hopefully, this fixes #2827. — committed to jgonggrijp/underscore by jgonggrijp 4 years ago
- Take this from an isolated script context Hopefully, this fixes #2827. — committed to jgonggrijp/underscore by jgonggrijp 4 years ago
@jgonggrijp Thanks for all your help looking into this!
@jgonggrijp All version works(D, E, F) and below is the output without underscorejs