Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

Re : can.List has no prototype.sort() ?

$
0
0
Array.prototype.sort works in-place & returns the same array. Try `this.attr("files", sorted.slice(0));` to clone the array.

Viewing all articles
Browse latest Browse all 3491

Trending Articles