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

can.List has no prototype.sort() ?

$
0
0
I have access to slice, but not sort.
  1. can.Component.extend({
  2.     scope: {
  3.         list: [2,1],
  4.         test: function() {
  5.             this.attr("list").sort();
  6.         }
  7.     }
  8. });


Viewing all articles
Browse latest Browse all 3491

Trending Articles