From: David ‘Bombe’ Roden Date: Sun, 22 Sep 2013 20:11:08 +0000 (+0200) Subject: Use more concise syntax for array creation. X-Git-Tag: 0.8.7^2~5 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=7df20dec7dcc9aa6d1aa657d24f273e1a82c60fc;p=Sone.git Use more concise syntax for array creation. --- 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()); });