From adbc0ee2aadd571dc0ff23ca940bc06329b84c68 Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Sun, 16 Nov 2014 14:39:38 -0200 Subject: [PATCH] code review --- meta/crx/vapi-background.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/crx/vapi-background.js b/meta/crx/vapi-background.js index 6cd19b2a9..331e2bf0f 100644 --- a/meta/crx/vapi-background.js +++ b/meta/crx/vapi-background.js @@ -287,7 +287,7 @@ vAPI.messaging.setup = function(defaultHandler) { } if ( typeof defaultHandler !== 'function' ) { - defaultHandler = function(){ return null; }; + defaultHandler = function(){ return vAPI.messaging.UNHANDLED; }; } this.defaultHandler = defaultHandler;