mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-07 01:54:12 +01:00
s/'/"/ and remove spaces.
This commit is contained in:
@@ -298,7 +298,7 @@ function Events() //{{{
|
||||
var inputBufferLength = 0; // count the number of keys in v.input.buffer (can be different from v.input.buffer.length)
|
||||
var skipMap = false; // while feeding the keys (stored in v.input.buffer | no map found) - ignore mappings
|
||||
|
||||
var macros = storage.newMap('macros', true);
|
||||
var macros = storage.newMap("macros", true);
|
||||
|
||||
var currentMacro = "";
|
||||
var lastMacro = "";
|
||||
|
||||
@@ -44,12 +44,12 @@ function Tabs() //{{{
|
||||
{
|
||||
if (!tabmail)
|
||||
{
|
||||
tabmail = document.getElementById('tabmail');
|
||||
tabmail.__defineGetter__('mTabContainer', function () this.tabContainer);
|
||||
tabmail.__defineGetter__('mTabs', function () this.tabContainer.childNodes);
|
||||
tabmail.__defineGetter__('mCurrentTab', function () this.tabContainer.selectedItem);
|
||||
tabmail.__defineGetter__('mStrip', function () this.tabStrip);
|
||||
tabmail.__defineGetter__('browsers', function () [browser for (browser in Iterator(this.mTabs))] );
|
||||
tabmail = document.getElementById("tabmail");
|
||||
tabmail.__defineGetter__("mTabContainer", function () this.tabContainer);
|
||||
tabmail.__defineGetter__("mTabs", function () this.tabContainer.childNodes);
|
||||
tabmail.__defineGetter__("mCurrentTab", function () this.tabContainer.selectedItem);
|
||||
tabmail.__defineGetter__("mStrip", function () this.tabStrip);
|
||||
tabmail.__defineGetter__("browsers", function () [browser for (browser in Iterator(this.mTabs))] );
|
||||
}
|
||||
return tabmail;
|
||||
};
|
||||
@@ -123,7 +123,7 @@ function Tabs() //{{{
|
||||
let tabStrip = tabs.tabStrip;
|
||||
|
||||
if (!tabStrip)
|
||||
return options['showtabline']; // XXX
|
||||
return options["showtabline"]; // XXX
|
||||
|
||||
if (value == 0)
|
||||
{
|
||||
|
||||
@@ -95,7 +95,7 @@ function CommandLine() //{{{
|
||||
let str = this.input.value;
|
||||
if (/^\s*$/.test(str))
|
||||
return;
|
||||
this.store.mutate('filter', function (line) line != str);
|
||||
this.store.mutate("filter", function (line) line != str);
|
||||
this.store.push(str);
|
||||
this.store.truncate(options["history"], true);
|
||||
},
|
||||
|
||||
@@ -452,8 +452,8 @@ const util = { //{{{
|
||||
|
||||
try
|
||||
{
|
||||
const clipboard = Cc['@mozilla.org/widget/clipboard;1'].getService(Ci.nsIClipboard);
|
||||
const transferable = Cc['@mozilla.org/widget/transferable;1'].createInstance(Ci.nsITransferable);
|
||||
const clipboard = Cc["@mozilla.org/widget/clipboard;1"].getService(Ci.nsIClipboard);
|
||||
const transferable = Cc["@mozilla.org/widget/transferable;1"].createInstance(Ci.nsITransferable);
|
||||
|
||||
transferable.addDataFlavor("text/unicode");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user