Remove alert from addHook.

Thanks to @tobibeer
This commit is contained in:
James Welford Anderson 2014-11-23 14:34:04 +09:00
parent 1126458f8c
commit 804a579d17
1 changed files with 0 additions and 1 deletions

View File

@ -1909,7 +1909,6 @@ Add hooks to the hashmap
*/
$tw.hooks.addHook = function(hookName,definition) {
if($tw.utils.hop($tw.hooks.names,hookName)) {
alert($tw.hooks.names[hookName]);
$tw.hooks.names[hookName].push(definition);
}
else {