Searched refs:hookName (Results 1 – 1 of 1) sorted by relevance
21 add: function(hookName, fn){22 if(typeof hookName == "object"){24 for(i=0; i<hookName.length; i++){25 var theHook = hookName[i];32 if(!hooks[hookName]){33 hooks[hookName] = [];35 hooks[hookName].push(fn);38 get: function(hookName){39 if(hooks[hookName]){40 return hooks[hookName];[all …]