Home
last modified time | relevance | path

Searched refs:hookName (Results 1 – 1 of 1) sorted by relevance

/plugin/behave/
H A Dbehave.js21 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 …]