mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 13:48:00 +01:00
Reference 'yankshort' from :help y.
This commit is contained in:
@@ -533,9 +533,11 @@
|
||||
|
||||
<item>
|
||||
<tags><yank-location> y</tags>
|
||||
<strut/>
|
||||
<spec>y</spec>
|
||||
<description short="true">
|
||||
<p>Yank current location to the clipboard.</p>
|
||||
<description>
|
||||
<p>Yank current location to the clipboard. See also
|
||||
<o>yankshort</o></p>
|
||||
</description>
|
||||
</item>
|
||||
|
||||
|
||||
@@ -791,12 +791,12 @@ var DOM = Class("DOM", {
|
||||
else
|
||||
event = array.toObject([[event, listener]]);
|
||||
|
||||
for (let [k, v] in Iterator(event))
|
||||
event[k] = util.wrapCallback(v, true);
|
||||
for (let [evt, callback] in Iterator(event))
|
||||
event[evt] = util.wrapCallback(callback, true);
|
||||
|
||||
return this.each(function (elem) {
|
||||
for (let [k, v] in Iterator(event))
|
||||
elem.addEventListener(k, v, capture);
|
||||
for (let [evt, callback] in Iterator(event))
|
||||
elem.addEventListener(evt, callback, capture);
|
||||
});
|
||||
},
|
||||
unlisten: function unlisten(event, listener, capture) {
|
||||
|
||||
Reference in New Issue
Block a user