1
0
Fork 0

💥 pattern.with() is nowy pattern.use()

This commit is contained in:
Joost De Cock 2018-12-22 10:27:05 +01:00
parent d07067e593
commit 6ad8cb6cb0
5 changed files with 6 additions and 6 deletions

View file

@ -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",