mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-06 19:24:11 +01:00
Add missing semicolons.
--HG-- extra : rebase_source : 5fdc6c8e52b982ea4685d97cd7ccfeb184ec3851
This commit is contained in:
@@ -813,7 +813,7 @@ Class.prototype = {
|
||||
*/
|
||||
timeout: function (callback, timeout) {
|
||||
const self = this;
|
||||
let notify = { notify: function notify(timer) { try { callback.apply(self) } catch (e) { util.reportError(e) } } };
|
||||
let notify = { notify: function notify(timer) { try { callback.apply(self); } catch (e) { util.reportError(e); } } };
|
||||
let timer = services.create("timer");
|
||||
timer.initWithCallback(notify, timeout || 0, timer.TYPE_ONE_SHOT);
|
||||
return timer;
|
||||
|
||||
Reference in New Issue
Block a user