1
0
Fork 0
friendica_2020-09-1_sharedH.../view/js/addon-hooks.js

11 lines
180 B
JavaScript
Raw Normal View History

2018-06-07 22:23:30 +02:00
var addon_hooks={};
function Addon_registerHook( type, hookfnstr )
{
if (!addon_hooks.hasOwnProperty(type)) {
addon_hooks[type]=[];
}
addon_hooks[type].push( hookfnstr );
}