ded/script.js — pull request #60 by revetkn (2014-03-08 23:45:12+00:00)
Title: Ensure "done" callback is invoked if zero-length paths array is provided

It is uncommon but possible for script.js to be invoked with [] paths. Current behavior is to never fire the "done" callback, this fix ensures it's called immediately and skips the setTimeout.

Github's diff is a bit misleading - it shows mostly whitespace. I've only added a one-line if statement.