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:
@@ -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 ()
|
||||
|
||||
Reference in New Issue
Block a user