1saffire.angular.app.controller('saffire.angular.cart.cartItemAddedController', ['$scope', 'saffire.angular.editorService', function ($scope, editorService) { 2 3 $scope.cartItemAddedUpsellsSwiperOptions = { 4 swiperID: 'cartItemAdded', 5 pluginOptions: { 6 slidesPerView: 1, 7 spaceBetween: 10, 8 centerInsufficientSlides: true, 9 autoHeight: true, 10 watchOverflow: true, 11 observer: true, 12 navigation: { 13 nextEl: '.swiper-button-next', 14 prevEl: '.swiper-button-prev', 15 }, 16 17 } 18 } 19 20 //messaging 21 22 $scope.$watch('showMessage', function () { 23 24 if ($scope.showMessage) { 25 editorService.setShowMessageFunction($scope.showMessage); 26 } 27 28 }, true) 29 30 $scope.$watch('closeMessage', function () { 31 32 if ($scope.closeMessage) { 33 editorService.setCloseMessageFunction($scope.closeMessage); 34 } 35 36 }, true) 37 38 39 $scope.closeModal = function () { 40 $scope.addedCartItem = null; 41 $scope.sender.focus(); 42 } 43}]); 44 45 46 47
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.