projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use more concise syntax for array creation.
[Sone.git]
/
src
/
main
/
resources
/
static
/
javascript
/
sone.js
diff --git
a/src/main/resources/static/javascript/sone.js
b/src/main/resources/static/javascript/sone.js
index
030f9be
..
3204507
100644
(file)
--- 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());
});