// Copyright (c) 2006-2008 by Martin Stubenschrott <stubenschrott@vimperator.org>
// Copyright (c) 2007-2011 by Doug Kearns <dougkearns@gmail.com>
-// Copyright (c) 2008-2011 by Kris Maglione <maglione.k@gmail.com>
+// Copyright (c) 2008-2012 Kris Maglione <maglione.k@gmail.com>
//
// 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
{ arg: true });
},
- commands: function () {
+ commands: function initCommands() {
commands.add(["delm[arks]"],
"Delete the specified marks",
function (args) {
});
},
- completion: function () {
+ completion: function initCompletion() {
completion.mark = function mark(context) {
function percent(i) Math.round(i * 100);
context.completions = marks.all;
};
},
- sanitizer: function () {
+ sanitizer: function initSanitizer() {
sanitizer.addItem("marks", {
description: "Local and URL marks",
persistent: true,