1'use strict'; 2 3angular. 4 module('axVehicleListPartial') 5 .component('axVehicleListPartial', { 6 templateUrl: '/angular/ax-vehicle-list-partial/ax-vehicle-list-partial.template.html', 7 controller: function axVehicleListPartialController($scope, $http) { 8 var self = this; 9 10 self.side = $("div[data-side]").attr('data-side'); 11 12 $http.get('/umbraco/api/VehicleApi/GetVehicleList?id=' + self.side) 13 .then(function(response) { 14 self.vehicles = response.data; 15 setTimeout($scope.slideshow, 500); 16 }) 17 18 $scope.udstyrMedHtml = function(udstyr) { 19 return udstyr; 20 }; 21 22 $scope.slideshow = function(){ 23 console.log("Carousel init") 24 $(".slideshow").cycle({ 25 fx: 'carousel', 26 27 swipe: true, 28 slides: '> a', 29 next: '#carousel-next', 30 prev: '#carousel-prev', 31 //pager: '#pager', 32 speed: 600, 33 manualSpeed: 100 34 }); 35 } 36 } 37}); 38
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.