1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-08 07:04:14 +01:00

Rip out threading code. Fixes issue #119. Fixes issue #128.

This commit is contained in:
Kris Maglione
2010-11-12 00:00:16 -05:00
parent babbde6821
commit 1f8bd6ee81
7 changed files with 11 additions and 94 deletions

View File

@@ -136,7 +136,7 @@ const Dactyl = Module("dactyl", {
* bell may be either audible or visual depending on the value of the
* 'visualbell' option.
*/
beep: requiresMainThread(function () {
beep: function () {
if (options["visualbell"]) {
// flash the visual bell
let panel = document.getElementById("dactyl-deck-bell");
@@ -156,7 +156,7 @@ const Dactyl = Module("dactyl", {
let soundService = Cc["@mozilla.org/sound;1"].getService(Ci.nsISound);
soundService.beep();
}
}),
},
/**
* Reads a string from the system clipboard.