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

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

$
0
0
For that to work, you need to steal the sort plugin `can/list/sort`. Though IMHO it's a little broken .

I've found it easier using `Array.prototype.sort()` and returning a new list if you need sorting to be dynamic.



Viewing all articles
Browse latest Browse all 3491

Trending Articles