💥 pattern.with() is nowy pattern.use()
This commit is contained in:
parent
d07067e593
commit
6ad8cb6cb0
5 changed files with 6 additions and 6 deletions
|
@ -333,7 +333,7 @@ Pattern.prototype.on = function(hook, method, data) {
|
|||
this.hooks[hook].push({ method, data });
|
||||
};
|
||||
|
||||
Pattern.prototype.with = function(plugin, data = false) {
|
||||
Pattern.prototype.use = function(plugin, data = false) {
|
||||
this.debug({
|
||||
type: "success",
|
||||
label: "🔌 Plugin loaded",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue