generated from dellevin/template
1
This commit is contained in:
14
node_modules/webpack-chain/src/Chainable.js
generated
vendored
Normal file
14
node_modules/webpack-chain/src/Chainable.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
module.exports = class {
|
||||
constructor(parent) {
|
||||
this.parent = parent;
|
||||
}
|
||||
|
||||
batch(handler) {
|
||||
handler(this);
|
||||
return this;
|
||||
}
|
||||
|
||||
end() {
|
||||
return this.parent;
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user