Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

chore(carousel): change images on demo #5106

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions src/carousel/docs/demo.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@ angular.module('ui.bootstrap.demo').controller('CarouselDemoCtrl', function ($sc
$scope.addSlide = function() {
var newWidth = 600 + slides.length + 1;
slides.push({
image: '//placekitten.com/' + newWidth + '/300',
text: ['More','Extra','Lots of','Surplus'][slides.length % 4] + ' ' +
['Cats', 'Kittys', 'Felines', 'Cutes'][slides.length % 4],
image: '//lorempixel.com/' + newWidth + '/300',
text: ['Nice image','Awesome photograph','That is so cool','I love that'][slides.length % 4],
id: currIndex++
});
};
Expand Down