CANJS 문서를 통해 can.List()에 정렬 함수를 구현하려고했습니다. var list = new can.List([
{ name: 'Justin' },
{ name: 'Brian' },
{ name: 'Austin' },
{ name: 'Mihael' }])
list.comparator = 'name';
li
를 업데이트 ({case : []}) 또는 can.List? 콧수염 도우미에서 그것을 어떻게 사용합니까? {{#each cases}}? 나는 this.records.attr('cases', entries);
을 수행하는 코드에서 this.records = new can.Map({case: []});
el.html(can.view('casesView',
원격 타사 JSONP 서버가이 같은 결과 목록 내 CanJS 스크립트를 제공 reclassing 객체 can.Model.extend : ABaseClass = can.Model.extend({ ... }, {
'findAll': { 'url': 'the url', 'dataType': "jsonp" }
// this is modified