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

Reference 'yankshort' from :help y.

This commit is contained in:
Kris Maglione
2012-02-16 19:21:36 -05:00
parent ada54040f4
commit 60d522a005
2 changed files with 8 additions and 6 deletions

View File

@@ -533,9 +533,11 @@
<item>
<tags>&lt;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>

View File

@@ -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) {