mirror of
https://github.com/chartjs/Chart.js.git
synced 2026-03-08 09:16:51 +01:00
Add comments for finding registry hook calls (#8734)
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user