mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-06 12:19:08 +02:00
Add comments for finding registry hook calls (#8734)
This commit is contained in:
parent
671d6e0560
commit
37080c9a8d
@ -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
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user