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

Commit

Permalink
chore(carousel): change images on demo
Browse files Browse the repository at this point in the history
Closes #5106
  • Loading branch information
Foxandxss authored and wesleycho committed Jan 8, 2016
1 parent 2dfa1f5 commit a42266c
Showing 1 changed file with 2 additions and 3 deletions.
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

0 comments on commit a42266c

Please sign in to comment.