1(function () { 2 var app = angular.module('newsContainer', []); 3 4 app.controller("newsContainerCtrl", ['$http', function ($http) 5 { 6 var ctrl = this; 7 8 this.load_data = function () 9 { 10 $('div.loader').show(); 11 12 more_button = true; 13 14 var payload = { 15 node_id: node_id, 16 skip: skip, 17 take: take 18 }; 19 20 $http.post("/umbraco/surface/mtpnews/getitems?lang=" + lang, payload).then(function(response) 21 { 22 $('div.loader').hide(); 23 24 $('div.newsList__inner').append(response.data); 25 26 if(more_button == true) 27 { 28 $('div.loadMore').show(); 29 } 30 else 31 { 32 $('div.loadMore').hide(); 33 } 34 }); 35 }; 36 37 this.btn_load_more = function () 38 { 39 skip += take; 40 ctrl.load_data(); 41 42 return; 43 }; 44 45 }]); 46})();
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.