1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-03 20:14:11 +01:00

Speed up hint opening a bit.

This commit is contained in:
Kris Maglione
2010-10-11 14:48:03 -04:00
parent a0fc10efbc
commit 0a2750c7ed
4 changed files with 41 additions and 41 deletions

View File

@@ -952,7 +952,7 @@ const Dactyl = Module("dactyl", {
* @param {function} func The function to call
* @param {object} self The 'this' object for the function.
*/
trapErrors: function (func, self) {
trapErrors: function trapErrors(func, self) {
try {
return func.apply(self || this, Array.slice(arguments, 2));
}
@@ -968,7 +968,7 @@ const Dactyl = Module("dactyl", {
*
* @param {Object} error The error object.
*/
reportError: function (error, echo) {
reportError: function reportError(error, echo) {
if (error instanceof FailedAssertion) {
if (error.message)
dactyl.echoerr(error.message);