From 7df20dec7dcc9aa6d1aa657d24f273e1a82c60fc Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Sun, 22 Sep 2013 22:11:08 +0200 Subject: [PATCH] Use more concise syntax for array creation. --- src/main/resources/static/javascript/sone.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/static/javascript/sone.js b/src/main/resources/static/javascript/sone.js index 030f9be..3204507 100644 --- a/src/main/resources/static/javascript/sone.js +++ b/src/main/resources/static/javascript/sone.js @@ -1365,7 +1365,7 @@ function getShownSoneId() { * @returns The ID of the currently shown Sones */ function getShownSoneIds() { - var soneIds = new Array(); + var soneIds = []; sone.find("#known-sones .sone .id").each(function() { soneIds.push($(this).text()); }); -- 2.7.4