1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 21:28:00 +01:00

Fix buffer.getCurrentWord when the selection is collapsed and the word has punctuation.

This commit is contained in:
Kris Maglione
2009-01-14 23:26:40 -05:00
parent df2443d67c
commit 0b682ef42b
3 changed files with 11 additions and 18 deletions

View File

@@ -648,8 +648,9 @@ const liberator = (function () //{{{
triggerObserver: function (type)
{
let args = Array.slice(arguments, 1);
for (let [,fn] in Iterator(observers[type] || []))
fn.apply(null, Array.slice(arguments, 1));
fn.apply(null, args);
},
beep: function ()