Skip to content
This repository was archived by the owner on May 10, 2018. It is now read-only.

Commit 6b50661

Browse files
committed
bump 0.3.3
1 parent 4009f7f commit 6b50661

6 files changed

+11
-10
lines changed

bower.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "angular-carousel",
33
"description": "Angular Carousel - Mobile friendly touch carousel for AngularJS",
4-
"version": "0.3.2",
4+
"version": "0.3.3",
55
"homepage": "http://revolunet.github.com/angular-carousel",
66
"author": "Julien Bouquillon <[email protected]>",
77
"repository": {

dist/angular-carousel.css

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ul[rn-carousel] {
1111
perspective: 1000px;
1212
-ms-touch-action: pan-y;
1313
touch-action: pan-y; }
14-
ul[rn-carousel] li {
14+
ul[rn-carousel] > li {
1515
color: black;
1616
-webkit-backface-visibility: hidden;
1717
-ms-backface-visibility: hidden;
@@ -30,7 +30,7 @@ ul[rn-carousel] {
3030
display: inline-block; }
3131

3232
/* prevent flickering when moving buffer */
33-
ul[rn-carousel-buffered] li {
33+
ul[rn-carousel-buffered] > li {
3434
display: none; }
3535

3636
ul[rn-carousel-transition="hexagon"] {

dist/angular-carousel.js

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* Angular Carousel - Mobile friendly touch carousel for AngularJS
3-
* @version v0.3.2 - 2014-10-15
3+
* @version v0.3.3 - 2014-10-19
44
* @link http://revolunet.github.com/angular-carousel
55
* @author Julien Bouquillon <[email protected]>
66
* @license MIT License, http://www.opensource.org/licenses/MIT
@@ -218,7 +218,8 @@ angular.module('angular-carousel').run(['$templateCache', function($templateCach
218218
scope: true,
219219
compile: function(tElement, tAttributes) {
220220
// use the compile phase to customize the DOM
221-
var firstChildAttributes = tElement[0].querySelector('li').attributes,
221+
var firstChild = tElement[0].querySelector('li'),
222+
firstChildAttributes = (firstChild) ? firstChild.attributes : [],
222223
isRepeatBased = false,
223224
isBuffered = false,
224225
repeatItem,
@@ -305,7 +306,7 @@ angular.module('angular-carousel').run(['$templateCache', function($templateCach
305306
});
306307

307308
function getSlidesDOM() {
308-
return iElement[0].querySelectorAll('li');
309+
return iElement[0].querySelectorAll(':scope > li');
309310
}
310311

311312
function documentMouseUpEvent(event) {

dist/angular-carousel.min.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)