diff options
author | gorhill <rhill@raymondhill.net> | 2015-09-14 10:48:23 -0400 |
---|---|---|
committer | gorhill <rhill@raymondhill.net> | 2015-09-14 10:48:23 -0400 |
commit | 6cc07a4027d37009b6ea72f524bdd9171dd010bb (patch) | |
tree | a869685666cee28c0e5153cc2f67390356277157 /src | |
parent | eabaa714466fdbd1149ea018da5b17b27e03cd83 (diff) | |
download | uBlock-6cc07a4027d37009b6ea72f524bdd9171dd010bb.zip uBlock-6cc07a4027d37009b6ea72f524bdd9171dd010bb.tar.gz uBlock-6cc07a4027d37009b6ea72f524bdd9171dd010bb.tar.bz2 |
removed unused code
Diffstat (limited to 'src')
-rw-r--r-- | src/js/messaging.js | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/src/js/messaging.js b/src/js/messaging.js index 07a2bc6..2841fef 100644 --- a/src/js/messaging.js +++ b/src/js/messaging.js @@ -1481,37 +1481,3 @@ vAPI.messaging.listen('scriptlets', onMessage); /******************************************************************************/ /******************************************************************************/ - -// devtools - -(function() { - -'use strict'; - -/******************************************************************************/ - -var onMessage = function(request, sender, callback) { - // Async - switch ( request.what ) { - default: - break; - } - - // Sync - var response; - - switch ( request.what ) { - default: - return vAPI.messaging.UNHANDLED; - } - - callback(response); -}; - -vAPI.messaging.listen('devtools', onMessage); - -/******************************************************************************/ - -})(); - -/******************************************************************************/ |