1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-22 05:25:46 +01:00

Long awaited augmentation of the :map command. Surrounding code needs cleanup.

--HG--
extra : rebase_source : 6bb2406343f04aff20456e1a9d0cb595f4ec767d
This commit is contained in:
Kris Maglione
2010-09-21 16:13:31 -04:00
parent 9d45874881
commit 6170b3197b
7 changed files with 163 additions and 36 deletions

View File

@@ -326,7 +326,7 @@ const Dactyl = Module("dactyl", {
* userContext global.
*/
userfunc: function () {
return this.userEval(
return this.usereval(
"(function (" +
Array.slice(arguments, 0, -1).join(", ") +
") { " + arguments[arguments.length - 1] + " })")