var getVersionNonce = o(function*(pn, file, cb) {
console.log('gvn', 'http' + path.resolve(pn, pn[pn.length - 1] == '/' ? '' : '..', file));
cb(null, crypto.createHash('md5').update(yield fs.readFile('http' + path.resolve(pn, pn[pn.length - 1] == '/' ? '' : '..', file), yield)).digest('hex'));
});
var addVersionNonces = o(function*(str, pn, cb) {
for (let i = 0; i < str.length; i++) {
if (str.substr(i).match(/^\.\w{1,8}"/)) {
while (str[i] && str[i] != '"') i++;
str = str.substr(0, i) + '?v=' + (yield getVersionNonce(pn, str.substr(0, i).match(/"[^"]+?$/)[0].substr(1), yield)) + …