Commit 5cf9e9b8 authored by Akari Labs's avatar Akari Labs

oops

parent 2b0e9cff
/*
cascade.webpack 1.2
cascade/webpack 1.2
Copyright 2019 astra akari (nocebo) and caela akari (lp0)
......@@ -116,15 +116,15 @@ module.exports = {
replacements, preCtor, postCtor,
installReplacement(search, replace) {
replacements.push({search, replace});
replacements.push({ search, replace });
},
installPreCtor(condition, callback) {
preCtor.push(callbackSearchToFunc(condition), callback);
preCtor.push({ condition: callbackSearchToFunc(condition), callback });
},
installPostCtor(condition, callback) {
postCtor.push(callbackSearchToFunc(condition), callback);
postCtor.push({ condition: callbackSearchToFunc(condition), callback });
}
};
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment