thanpolas / grunt-closure-tools

Google Closure Tools for grunt
MIT License
95 stars 22 forks source link

#45 Fixed condition on create_source_map trigger for files mapping #49

Closed fhurta closed 10 years ago

fhurta commented 10 years ago

Hopefully the last commit to this issue - changing the condition from '!==undefined' to '===null' required moving the check before the loop as the compared value is set and is no more null in the next iteration - the case worked for file mappings of length 1, for more entries it overwrites still the same source_map file.

thanpolas commented 10 years ago

v0.8.7 is on NPM