From 28d15242292df3f056064a4d05cc615d4d77d290 Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Tue, 4 Jan 2011 01:45:53 +1100 Subject: [PATCH] Fix :run on FF 3.6. Closes issue #233. --- common/content/io.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/content/io.js b/common/content/io.js index 7e494fa4..096b5f65 100644 --- a/common/content/io.js +++ b/common/content/io.js @@ -466,7 +466,7 @@ var IO = Module("io", { * otherwise, the return value of *func*. */ withTempFiles: function (func, self, checked) { - let args = array(util.range(0, func.length)).map(this.createTempFile); + let args = array(util.range(0, func.length)).map(this.createTempFile).array; try { if (!args.every(util.identity)) return false;