mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-24 00:32:27 +01:00
trivial formatting improvements
This commit is contained in:
@@ -129,8 +129,7 @@ liberator.Command.prototype = {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
}; //}}}
|
||||||
//}}}
|
|
||||||
|
|
||||||
liberator.Commands = function () //{{{
|
liberator.Commands = function () //{{{
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -727,7 +727,8 @@ liberator.Events = function () //{{{
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
getWebNavigation().stop(nsIWebNavigation.STOP_ALL);
|
getWebNavigation().stop(nsIWebNavigation.STOP_ALL);
|
||||||
} catch (ex) { }
|
}
|
||||||
|
catch (e) {}
|
||||||
|
|
||||||
liberator.buffer.loaded = 1; // even if not a full page load, assume it did load correctly before starting the macro
|
liberator.buffer.loaded = 1; // even if not a full page load, assume it did load correctly before starting the macro
|
||||||
liberator.events.feedkeys(macros[lastMacro], true); // true -> noremap
|
liberator.events.feedkeys(macros[lastMacro], true); // true -> noremap
|
||||||
|
|||||||
@@ -68,8 +68,7 @@ liberator.Map.prototype = {
|
|||||||
return this.action.apply(this, args);
|
return this.action.apply(this, args);
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
}; //}}}
|
||||||
//}}}
|
|
||||||
|
|
||||||
liberator.Mappings = function () //{{{
|
liberator.Mappings = function () //{{{
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ the provisions above, a recipient may use your version of this file under
|
|||||||
the terms of any one of the MPL, the GPL or the LGPL.
|
the terms of any one of the MPL, the GPL or the LGPL.
|
||||||
}}} ***** END LICENSE BLOCK *****/
|
}}} ***** END LICENSE BLOCK *****/
|
||||||
|
|
||||||
liberator.config = {
|
liberator.config = { //{{{
|
||||||
/*** required options, no checks done if they really exist, so be careful ***/
|
/*** required options, no checks done if they really exist, so be careful ***/
|
||||||
name: "Muttator",
|
name: "Muttator",
|
||||||
hostApplication: "Thunderbird", // TODO: can this be found out otherwise? gBrandBundle.getString("brandShortName");
|
hostApplication: "Thunderbird", // TODO: can this be found out otherwise? gBrandBundle.getString("brandShortName");
|
||||||
@@ -204,6 +204,6 @@ liberator.config = {
|
|||||||
liberator.loadModule("hints", liberator.Hints);
|
liberator.loadModule("hints", liberator.Hints);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
}; //}}}
|
||||||
|
|
||||||
// vim: set fdm=marker sw=4 ts=4 et:
|
// vim: set fdm=marker sw=4 ts=4 et:
|
||||||
|
|||||||
@@ -269,7 +269,7 @@ liberator.util = { //{{{
|
|||||||
url = data.data.substring(0, dataLen.value / 2);
|
url = data.data.substring(0, dataLen.value / 2);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (ex) { }
|
catch (e) {}
|
||||||
|
|
||||||
return url;
|
return url;
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user