I have a function, like following:
function handler(){
// ...
}
And I called this function in other js file, like below:
if(window.handler())
handler();
But I got following error in firebug console:
TypeError: window.handler is not a function
Anyone can help me?
Thanks !