Switched from downloading zips to downloading tarballs, as the unzip module was randomly sucking.

This commit is contained in:
Spencer Alger
2013-10-23 21:52:31 -07:00
parent 63d0d04796
commit e231876702
20 changed files with 230 additions and 138 deletions

View File

@ -58,7 +58,7 @@ Log.prototype.close = function () {
console.error('Something is still listening for log events, but the logger is closing.');
this.clearAllListeners();
}
}
};
/**
* Levels observed by the loggers, ordered by rank

View File

@ -1960,6 +1960,9 @@ api.indices.prototype.getTemplate = ca({
type: 'string'
}
}
},
{
fmt: '/_template'
}
]
});

View File

@ -58,7 +58,7 @@ Log.prototype.close = function () {
console.error('Something is still listening for log events, but the logger is closing.');
this.clearAllListeners();
}
}
};
/**
* Levels observed by the loggers, ordered by rank

View File

@ -385,13 +385,8 @@ utils.applyArgs = function (func, context, args, sliceIndex) {
* @return {[type]} [description]
*/
_.nextTick = function (cb) {
console.log('tick');
var args = Array.prototype.slice.call(arguments, 1);
// bind the function and schedule it
process.nextTick(function () {
console.log('tock');
cb.apply(null, args);
});
process.nextTick(_.bindKey(_, 'applyArgs', cb, null, arguments, 1));
};
/**