X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=common%2Fcontent%2Fquickmarks.js;h=9fc5acae5654028c63729c4292fb4d50cb0e52d1;hb=8b6fcae7eaa413bc62d645d2d0c99835c47265e6;hp=d2a5627cd98e95ed7209d155272c94b8e6fd8e11;hpb=9044153cb63835e39b9de8ec4ade237c03e3888a;p=dactyl.git diff --git a/common/content/quickmarks.js b/common/content/quickmarks.js index d2a5627..9fc5aca 100644 --- a/common/content/quickmarks.js +++ b/common/content/quickmarks.js @@ -1,10 +1,10 @@ // Copyright (c) 2006-2008 by Martin Stubenschrott // Copyright (c) 2007-2011 by Doug Kearns -// Copyright (c) 2008-2011 by Kris Maglione +// Copyright (c) 2008-2012 Kris Maglione // // This work is licensed for reuse under an MIT license. Details are // given in the LICENSE.txt file included with this file. -/* use strict */ +"use strict"; /** @scope modules */ @@ -118,7 +118,7 @@ var QuickMarks = Module("quickmarks", { } }, { }, { - commands: function () { + commands: function initCommands() { commands.add(["delqm[arks]"], "Delete the specified QuickMarks", function (args) { @@ -175,13 +175,13 @@ var QuickMarks = Module("quickmarks", { completer: function (context) completion.quickmark(context), }); }, - completion: function () { + completion: function initCompletion() { completion.quickmark = function (context) { context.title = ["QuickMark", "URL"]; context.generate = function () Iterator(quickmarks._qmarks); }; }, - mappings: function () { + mappings: function initMappings() { var myModes = config.browserModes; mappings.add(myModes,