mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 02:35:49 +00:00
chore(util) rm unused extendProto
This commit is contained in:
parent
406030544c
commit
8c01cd4605
1 changed files with 0 additions and 12 deletions
|
|
@ -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) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue