Skip to content

Commit

Permalink
Add comments for finding registry hook calls (#8734)
Browse files Browse the repository at this point in the history
  • Loading branch information
kurkle authored Mar 26, 2021
1 parent 671d6e0 commit 37080c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/core.registry.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,9 +151,9 @@ export class Registry {
*/
_exec(method, registry, component) {
const camelMethod = _capitalize(method);
call(component['before' + camelMethod], [], component);
call(component['before' + camelMethod], [], component); // beforeRegister / beforeUnregister
registry[method](component);
call(component['after' + camelMethod], [], component);
call(component['after' + camelMethod], [], component); // afterRegister / afterUnregister
}

/**
Expand Down

0 comments on commit 37080c9

Please sign in to comment.