Skip to content

Commit

Permalink
Allow chaining Mix.override (#2157)
Browse files Browse the repository at this point in the history
I assume this was simply overlooked, unless there's a specific reason why we don't want this to be chainable?
  • Loading branch information
mgrinspan authored and JeffreyWay committed Jul 16, 2019
1 parent e23b05a commit 40eaa99
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Api.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ class Api {
*/
override(callback) {
Mix.listen('configReadyForUser', callback);

return this;
}

/**
Expand Down

0 comments on commit 40eaa99

Please sign in to comment.