add helpers

This commit is contained in:
Sebastian McKenzie
2015-01-23 23:02:48 +11:00
parent 063fec0ca6
commit 36fef5676a
3 changed files with 5 additions and 4 deletions

View File

@@ -0,0 +1,5 @@
"use strict";
module.exports = function () {
return Object.create(null);
};

View File

@@ -25,10 +25,6 @@ exports.isInteger = function (i) {
return _.isNumber(i) && i % 1 === 0;
};
exports.object = function () {
return Object.create(null);
};
exports.resolve = function (loc) {
try {
return require.resolve(loc);