steveoh / grunt-esri-slurp

download the esri js api
MIT License
19 stars 7 forks source link

Fixed bug causing incorrect unwinding of layer files. #20

Closed stdavis closed 10 years ago

stdavis commented 10 years ago

Layer files such as esri/geometry, esri/renderer, and esri/symbol contained a cache of all of their dependencies within a require call at the beginning of the file. This was causing the file to be reconstructed by unwinder.js incorrectly.

This new version removed the require cache at the beginning of the file and processes the rest of the file appropriately so that these modules can still be used.

Closes #18 & https://github.com/tomwayson/esri-slurp-example/issues/1

Also added grunt-node-inspector.

tomwayson commented 10 years ago

Nice one @stdavis - this solved my build errors!

You guys rock!