1$.fn.matrizPagedList = function(command, options) { 2 if (this.length > 0) { 3 if (!options) { 4 options = {}; 5 } 6 7 if (command instanceof Object) { 8 options = command; 9 command = ""; 10 } 11 12 switch (command) { 13 case "destroy": 14 this.get(0).instance = undefined; 15 break; 16 case "reset": 17 this.get(0).instance.reset(); 18 break; 19 case "next": 20 this.get(0).instance.next(); 21 break; 22 case "previous": 23 this.get(0).instance.previous(); 24 break; 25 case "sort": 26 this.get(0).instance.sort(options.column, options.direction); 27 break; 28 case "pagenumber": 29 return this.get(0).instance.pageNumber(); 30 case "pageitenscount": 31 return this.get(0).instance.pageItensCount(); 32 case "pagecount": 33 return this.get(0).instance.pageCount(); 34 case "isloading": 35 return this.get(0).instance.isLoading(); 36 case "filter": 37 this.get(0).instance.filter(options); 38 break; 39 case "refresh": 40 this.get(0).instance.refresh(); 41 break; 42 case "navigate": 43 this.get(0).instance.navigate(options); 44 break; 45 case "goto": 46 this.get(0).instance.goto(options); 47 break; 48 case "reinit": 49 this.get(0).instance.reinit(); 50 break; 51 case "instance": 52 return this.get(0).instance; 53 default: 54 if (!this.get(0).instance) { 55 var $container = $(this); 56 this.get(0).instance = matriz.ui.list.create($container.attr("data-matriz-list-type"), $container, options); 57 this.get(0).instance.initialize(); 58 } 59 break; 60 } 61 } 62 return this; 63}; 64
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.