aboutsummaryrefslogtreecommitdiffstats
path: root/content_scripts
diff options
context:
space:
mode:
authorsainaen2013-05-25 20:21:36 +0300
committersainaen2013-05-25 20:48:40 +0300
commit1f661fc2b30141a140b2eacfc824e0f974dcf292 (patch)
treec5f90d275f3754ab4e7d59690349fecd487ae87c /content_scripts
parent11031398af6c4981454354fb1a70cb3473368515 (diff)
downloadvimium-1f661fc2b30141a140b2eacfc824e0f974dcf292.tar.bz2
Replace `sendRequest()` calls with `sendMessage()` ones in marks.coffee
Fixing incomplete commit 9403692e51, replacing old API calls with the new ones in two more files: `background/marks.coffee` and `content_scripts/marks.coffee`.
Diffstat (limited to 'content_scripts')
-rw-r--r--content_scripts/marks.coffee4
1 files changed, 2 insertions, 2 deletions
diff --git a/content_scripts/marks.coffee b/content_scripts/marks.coffee
index e280a3b1..91701936 100644
--- a/content_scripts/marks.coffee
+++ b/content_scripts/marks.coffee
@@ -6,7 +6,7 @@ root.activateCreateMode = ->
return unless keyChar isnt ""
if /[A-Z]/.test keyChar
- chrome.extension.sendRequest {
+ chrome.extension.sendMessage {
handler: 'createMark',
markName: keyChar
scrollX: window.scrollX,
@@ -29,7 +29,7 @@ root.activateGotoMode = ->
return unless keyChar isnt ""
if /[A-Z]/.test keyChar
- chrome.extension.sendRequest
+ chrome.extension.sendMessage
handler: 'gotoMark'
markName: keyChar
else if /[a-z]/.test keyChar