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

Commit

Permalink
bump 0.3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
revolunet committed Oct 18, 2014
1 parent 4009f7f commit 6b50661
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 10 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "angular-carousel",
"description": "Angular Carousel - Mobile friendly touch carousel for AngularJS",
"version": "0.3.2",
"version": "0.3.3",
"homepage": "http://revolunet.github.com/angular-carousel",
"author": "Julien Bouquillon <julien@revolunet.com>",
"repository": {
Expand Down
4 changes: 2 additions & 2 deletions dist/angular-carousel.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ ul[rn-carousel] {
perspective: 1000px;
-ms-touch-action: pan-y;
touch-action: pan-y; }
ul[rn-carousel] li {
ul[rn-carousel] > li {
color: black;
-webkit-backface-visibility: hidden;
-ms-backface-visibility: hidden;
Expand All @@ -30,7 +30,7 @@ ul[rn-carousel] {
display: inline-block; }

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

ul[rn-carousel-transition="hexagon"] {
Expand Down
7 changes: 4 additions & 3 deletions dist/angular-carousel.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Angular Carousel - Mobile friendly touch carousel for AngularJS
* @version v0.3.2 - 2014-10-15
* @version v0.3.3 - 2014-10-19
* @link http://revolunet.github.com/angular-carousel
* @author Julien Bouquillon <julien@revolunet.com>
* @license MIT License, http://www.opensource.org/licenses/MIT
Expand Down Expand Up @@ -218,7 +218,8 @@ angular.module('angular-carousel').run(['$templateCache', function($templateCach
scope: true,
compile: function(tElement, tAttributes) {
// use the compile phase to customize the DOM
var firstChildAttributes = tElement[0].querySelector('li').attributes,
var firstChild = tElement[0].querySelector('li'),
firstChildAttributes = (firstChild) ? firstChild.attributes : [],
isRepeatBased = false,
isBuffered = false,
repeatItem,
Expand Down Expand Up @@ -305,7 +306,7 @@ angular.module('angular-carousel').run(['$templateCache', function($templateCach
});

function getSlidesDOM() {
return iElement[0].querySelectorAll('li');
return iElement[0].querySelectorAll(':scope > li');
}

function documentMouseUpEvent(event) {
Expand Down
2 changes: 1 addition & 1 deletion dist/angular-carousel.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 6b50661

Please sign in to comment.