diff options
author | Rogan Creswick <creswick@galois.com> | 2012-03-31 08:08:11 -0700 |
---|---|---|
committer | Rogan Creswick <creswick@galois.com> | 2012-03-31 08:08:11 -0700 |
commit | ec532e93339a942a395829ec87f427852cd72e00 (patch) | |
tree | f6ad13ca7f90f26fda9bc23e428ee367f153e3d2 /tools/addon-sdk-1.3/examples/annotator/data/widget/widget.js | |
parent | 780bf48de85215f5b0b6fde0df40599ac6f9c037 (diff) |
removed older addon-sdks from tools
Diffstat (limited to 'tools/addon-sdk-1.3/examples/annotator/data/widget/widget.js')
-rw-r--r-- | tools/addon-sdk-1.3/examples/annotator/data/widget/widget.js | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/tools/addon-sdk-1.3/examples/annotator/data/widget/widget.js b/tools/addon-sdk-1.3/examples/annotator/data/widget/widget.js deleted file mode 100644 index f9714db..0000000 --- a/tools/addon-sdk-1.3/examples/annotator/data/widget/widget.js +++ /dev/null @@ -1,13 +0,0 @@ -/* -Listen for left and right click events and send the corresponding message -to the content script. -*/ - -this.addEventListener('click', function(event) { - if(event.button == 0 && event.shiftKey == false) - self.port.emit('left-click'); - - if(event.button == 2 || (event.button == 0 && event.shiftKey == true)) - self.port.emit('right-click'); - event.preventDefault(); -}, true); |