Skip to content

Commit a42266c

Browse files
Foxandxsswesleycho
authored andcommitted
chore(carousel): change images on demo
Closes angular-ui#5106
1 parent 2dfa1f5 commit a42266c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/carousel/docs/demo.js

+2-3
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,8 @@ angular.module('ui.bootstrap.demo').controller('CarouselDemoCtrl', function ($sc
77
$scope.addSlide = function() {
88
var newWidth = 600 + slides.length + 1;
99
slides.push({
10-
image: '//placekitten.com/' + newWidth + '/300',
11-
text: ['More','Extra','Lots of','Surplus'][slides.length % 4] + ' ' +
12-
['Cats', 'Kittys', 'Felines', 'Cutes'][slides.length % 4],
10+
image: '//lorempixel.com/' + newWidth + '/300',
11+
text: ['Nice image','Awesome photograph','That is so cool','I love that'][slides.length % 4],
1312
id: currIndex++
1413
});
1514
};

0 commit comments

Comments
 (0)