From 849829d41469e113fc81cbe1b65d32b511e59905 Mon Sep 17 00:00:00 2001 From: Stephen Blott Date: Sun, 11 Dec 2016 15:43:56 +0000 Subject: Documentation for updates. --- background_scripts/main.coffee | 3 +++ 1 file changed, 3 insertions(+) (limited to 'background_scripts') diff --git a/background_scripts/main.coffee b/background_scripts/main.coffee index 283826de..72f87a7e 100644 --- a/background_scripts/main.coffee +++ b/background_scripts/main.coffee @@ -145,6 +145,9 @@ mkRepeatCommand = (command) -> (request) -> # These are commands which are bound to keystrokes which must be handled by the background page. They are # mapped in commands.coffee. BackgroundCommands = + # Create a new tab. Also, with: + # map X createTab http://www.bbc.com/news + # create a new tab with the given URL. createTab: mkRepeatCommand (request, callback) -> request.urls ?= if request.url -- cgit v1.2.3