From 82d65b076a672d56f2172059596aea947cac1aea Mon Sep 17 00:00:00 2001 From: yuyang Date: Fri, 25 Mar 2016 12:46:58 +0800 Subject: [PATCH] change new Array => [] --- mithril.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mithril.js b/mithril.js index 6505a74e..3b931f00 100644 --- a/mithril.js +++ b/mithril.js @@ -1966,7 +1966,7 @@ m.sync = function (args) { var deferred = m.deferred() var outstanding = args.length - var results = new Array(outstanding) + var results = [] var method = "resolve" function synchronizer(pos, resolved) {