diff --git a/common/content/dactyl.js b/common/content/dactyl.js index a8c03a8b..21a16857 100644 --- a/common/content/dactyl.js +++ b/common/content/dactyl.js @@ -664,8 +664,7 @@ const Dactyl = Module("dactyl", { * @param {XMLList} extraHelp Extra help text beyond the description. * @returns {string} */ - generateHelp: function generateHelp(obj, extraHelp) - { + generateHelp: function generateHelp(obj, extraHelp) { default xml namespace = ""; let spec = util.identity; let tag = util.identity; @@ -1461,8 +1460,8 @@ const Dactyl = Module("dactyl", { services.get("extensionManager").uninstallItem(this.id); }; addon.appDisabled = false; - addon.__defineGetter__("userDisabled", function() getRdfProperty("userDisabled") == "true"); - addon.__defineSetter__("userDisabled", function(val) { + addon.__defineGetter__("userDisabled", function () getRdfProperty("userDisabled") == "true"); + addon.__defineSetter__("userDisabled", function (val) { services.get("extensionManager")[val ? "enableItem" : "disableItem"](this.id); }); diff --git a/common/content/finder.js b/common/content/finder.js index 82e1683c..485bc0bd 100644 --- a/common/content/finder.js +++ b/common/content/finder.js @@ -344,7 +344,7 @@ const RangeFind = Class("RangeFind", { } }, - focus: function() { + focus: function () { if (this.lastRange) var node = util.evaluateXPath(RangeFind.selectNodePath, this.range.document, this.lastRange.commonAncestorContainer).snapshotItem(0); diff --git a/common/content/javascript.js b/common/content/javascript.js index bbe0bdcb..cd26cfd8 100644 --- a/common/content/javascript.js +++ b/common/content/javascript.js @@ -316,7 +316,7 @@ const JavaScript = Module("javascript", { if (!compl) { compl = function (context, obj, recurse) { - context.process[1] = function highlight(item, v) + context.process[1] = function highlight(item, v) template.highlight(typeof v == "xml" ? new String(v.toXMLString()) : v, true); // Sort in a logical fashion for object keys: diff --git a/common/content/modules.js b/common/content/modules.js index cfc58511..82d46d0e 100644 --- a/common/content/modules.js +++ b/common/content/modules.js @@ -75,8 +75,8 @@ Module.constructors = {}; window.addEventListener("load", function onLoad() { window.removeEventListener("load", onLoad, false); - Module.list.forEach(function(module) { - modules.__defineGetter__(module.classname, function() { + Module.list.forEach(function (module) { + modules.__defineGetter__(module.classname, function () { delete modules[module.classname]; return load(module.classname, null, Components.stack.caller); }); diff --git a/common/content/tabs.js b/common/content/tabs.js index 9c631adc..5cafc431 100644 --- a/common/content/tabs.js +++ b/common/content/tabs.js @@ -315,7 +315,7 @@ const Tabs = Module("tabs", { config.tabbrowser.mTabContainer.selectedItem = tabs[next]; if (focusLeftTab) - tabs.slice(Math.max(0, index+1 - count), index+1).forEach(config.removeTab); + tabs.slice(Math.max(0, index + 1 - count), index + 1).forEach(config.removeTab); else tabs.slice(index, index + count).forEach(config.removeTab); }, diff --git a/common/locale/en-US/browsing.xml b/common/locale/en-US/browsing.xml index 794be08d..576376a9 100644 --- a/common/locale/en-US/browsing.xml +++ b/common/locale/en-US/browsing.xml @@ -15,7 +15,7 @@ &dactyl.appname; overrides nearly all &dactyl.host; keys in order to make browsing more pleasant for Vim users. On the occasions when you -want to bypass &dactyl.appname;'s key handling and pass keys directly to +want to bypass &dactyl.appname;'s key handling and pass keys directly to &dactyl.host; or to a web page, you have two options: diff --git a/common/locale/en-US/developer.xml b/common/locale/en-US/developer.xml index 0b643010..79f72926 100644 --- a/common/locale/en-US/developer.xml +++ b/common/locale/en-US/developer.xml @@ -215,7 +215,7 @@ XML.prettyPrinting = false; otherwise. Beginning your file with use strict, while not required, helps to prevent a lot of common errors.

- +

The documentation that you provide behaves exactly as other &dactyl.appname; documentation, which means that the tags you diff --git a/common/locale/en-US/hints.xml b/common/locale/en-US/hints.xml index 3454df61..93a20c44 100644 --- a/common/locale/en-US/hints.xml +++ b/common/locale/en-US/hints.xml @@ -126,7 +126,7 @@ ;V, ;Y and ;c. The value of extendedhinttags is used to choose the elements for, ;s, ;a, ;o, ;t, - ;b, ;O, ;T, ;W, ;y, + ;b, ;O, ;T, ;W, ;y,

diff --git a/common/locale/en-US/options.xml b/common/locale/en-US/options.xml index 35d65ea0..ec3340e3 100644 --- a/common/locale/en-US/options.xml +++ b/common/locale/en-US/options.xml @@ -1387,7 +1387,7 @@

- List of file patterns to ignore when completing files. For example, + List of file patterns to ignore when completing files. For example, the following will ignore object files and Vim swap files:

diff --git a/common/locale/en-US/repeat.xml b/common/locale/en-US/repeat.xml index 48681492..47c5bd00 100644 --- a/common/locale/en-US/repeat.xml +++ b/common/locale/en-US/repeat.xml @@ -123,7 +123,7 @@ else is interpreted as Ex commands. In normal cases, any errors generated by the execution or non-existence of file are printed to the command-line area. When ! is - provided, these are suppressed. + provided, these are suppressed.

@@ -140,7 +140,7 @@ page and every chrome document, including all browser windows and dialogs. If the same file is sourced more than once, its previous rules are cleared before it is applied again. Rules can be - restricted to specific documents by enclosing them + restricted to specific documents by enclosing them @-moz-document blocks.

diff --git a/common/modules/styles.jsm b/common/modules/styles.jsm index 11d39197..5e8dbd3e 100644 --- a/common/modules/styles.jsm +++ b/common/modules/styles.jsm @@ -71,7 +71,7 @@ Sheet.prototype.__defineGetter__("fullCSS", function wrapCSS() { * @author Kris Maglione */ const Styles = Module("Styles", { - init: function() { + init: function () { this._id = 0; this.userSheets = []; this.systemSheets = []; diff --git a/pentadactyl/locale/en-US/intro.xml b/pentadactyl/locale/en-US/intro.xml index 2ef98ab7..1430a72c 100644 --- a/pentadactyl/locale/en-US/intro.xml +++ b/pentadactyl/locale/en-US/intro.xml @@ -16,7 +16,7 @@

&dactyl.appname; is a free browser add-on for &dactyl.host;, designed to make browsing more - efficient and especially more keyboard accessible. Largely inspired by the + efficient and especially more keyboard accessible. Largely inspired by the Vim text editor, the appearance and finger feel should be familiar to Vim users.

diff --git a/teledactyl/content/mail.js b/teledactyl/content/mail.js index 80699221..37730253 100644 --- a/teledactyl/content/mail.js +++ b/teledactyl/content/mail.js @@ -107,7 +107,7 @@ const Mail = Module("mail", { let i = direction; let folder; while (count > 0 && (c + i) < gFolderTreeView.rowCount && (c + i) >= 0) { - let resource = gFolderTreeView._rowMap[c+i]._folder; + let resource = gFolderTreeView._rowMap[c + i]._folder; if (!resource.isServer && resource.getNumUnread(false)) { count -= 1; folder = i; diff --git a/xulmus/locale/en-US/intro.xml b/xulmus/locale/en-US/intro.xml index 4a05bcb2..02dd83f7 100644 --- a/xulmus/locale/en-US/intro.xml +++ b/xulmus/locale/en-US/intro.xml @@ -17,7 +17,7 @@ is a free media player add-on for &dactyl.host;, which combines the best features of the CMus -music player and the +music player and the Vim text editor.