diff options
Diffstat (limited to 'tools/addon-sdk-1.3/examples/annotator/data/widget')
-rw-r--r-- | tools/addon-sdk-1.3/examples/annotator/data/widget/pencil-off.png | bin | 1740 -> 0 bytes | |||
-rw-r--r-- | tools/addon-sdk-1.3/examples/annotator/data/widget/pencil-on.png | bin | 2054 -> 0 bytes | |||
-rw-r--r-- | tools/addon-sdk-1.3/examples/annotator/data/widget/widget.js | 13 |
3 files changed, 0 insertions, 13 deletions
diff --git a/tools/addon-sdk-1.3/examples/annotator/data/widget/pencil-off.png b/tools/addon-sdk-1.3/examples/annotator/data/widget/pencil-off.png Binary files differdeleted file mode 100644 index b14d961..0000000 --- a/tools/addon-sdk-1.3/examples/annotator/data/widget/pencil-off.png +++ /dev/null diff --git a/tools/addon-sdk-1.3/examples/annotator/data/widget/pencil-on.png b/tools/addon-sdk-1.3/examples/annotator/data/widget/pencil-on.png Binary files differdeleted file mode 100644 index 71a609f..0000000 --- a/tools/addon-sdk-1.3/examples/annotator/data/widget/pencil-on.png +++ /dev/null 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); |