chore(util) rm unused extendProto

This commit is contained in:
coderaiser 2017-08-04 13:47:24 +03:00
parent 406030544c
commit 8c01cd4605

View file

@ -6,18 +6,6 @@ const Scope = global || window;
module.exports.getStrBigFirst = getStrBigFirst;
module.exports.kebabToCamelCase = kebabToCamelCase;
/**
* extend proto
*
* @obj
*/
module.exports.extendProto = (obj) => {
const F = () => {};
F.prototype = Object.assign({}, obj);
return new F();
};
module.exports.json = jonny;
module.exports.escapeRegExp = (str) => {