Skip to content

Commit

Permalink
v2.0.2 update
Browse files Browse the repository at this point in the history
  • Loading branch information
thatisuday committed Aug 4, 2016
1 parent e222038 commit 0c88503
Show file tree
Hide file tree
Showing 13 changed files with 33 additions and 30 deletions.
8 changes: 4 additions & 4 deletions dist/ng-image-gallery.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,12 @@
-webkit-transform: scaleY(1); } }

.ng-image-gallery {
outline: none;
/*****************************************************************
INLINE GALLERY
/*****************************************************************/ }
.ng-image-gallery * {
outline: none; }
.ng-image-gallery .ng-image-gallery-thumbnails:after {
content: "";
width: 0;
Expand Down Expand Up @@ -88,7 +91,6 @@
background-repeat: no-repeat;
overflow: hidden;
cursor: pointer;
outline: none;
text-decoration: none;
color: #fff;
vertical-align: bottom; }
Expand All @@ -106,8 +108,7 @@
background-size: 100% 100%;
background-repeat: no-repeat;
overflow: hidden;
cursor: pointer;
outline: none; }
cursor: pointer; }
.ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .prev.bubbles-on,
.ng-image-gallery .ng-image-gallery-modal .ng-image-gallery-content .next.bubbles-on {
top: calc((100% - 50px) / 2); }
Expand Down Expand Up @@ -194,7 +195,6 @@
display: inline-block;
margin: 0 2px;
cursor: pointer;
outline: none;
overflow: hidden;
border-radius: 100%;
background-size: cover;
Expand Down
18 changes: 9 additions & 9 deletions dist/ng-image-gallery.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,17 +154,17 @@
**/

// Modify scope models
scope.images = (scope.images) ? scope.images : [];
scope.methods = (scope.methods) ? scope.methods : {};
scope.images = (scope.images != undefined) ? scope.images : [];
scope.methods = (scope.methods != undefined) ? scope.methods : {};

scope.thumbnails = (scope.thumbnails) ? scope.thumbnails : true;
scope.inline = (scope.inline) ? scope.inline : false;
scope.bubbles = (scope.bubbles) ? scope.bubbles : true;
scope.imgBubbles = (scope.imgBubbles) ? scope.imgBubbles : false;
scope.bgClose = (scope.bgClose) ? scope.bgClose : false;
scope.thumbnails = (scope.thumbnails != undefined) ? scope.thumbnails : true;
scope.inline = (scope.inline != undefined) ? scope.inline : false;
scope.bubbles = (scope.bubbles != undefined) ? scope.bubbles : true;
scope.imgBubbles = (scope.imgBubbles != undefined) ? scope.imgBubbles : false;
scope.bgClose = (scope.bgClose != undefined) ? scope.bgClose : false;

scope.onOpen = (scope.onOpen) ? scope.onOpen : angular.noop;
scope.onClose = (scope.onClose) ? scope.onClose : angular.noop;
scope.onOpen = (scope.onOpen != undefined) ? scope.onOpen : angular.noop;
scope.onClose = (scope.onClose != undefined) ? scope.onClose : angular.noop;


// If images populate dynamically, reset gallery
Expand Down
2 changes: 1 addition & 1 deletion dist/ng-image-gallery.min.css

Large diffs are not rendered by default.

Binary file modified dist/ng-image-gallery.min.css.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion dist/ng-image-gallery.min.css.map

Large diffs are not rendered by default.

Binary file modified dist/ng-image-gallery.min.css.map.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion dist/ng-image-gallery.min.js

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

Binary file modified dist/ng-image-gallery.min.js.gz
Binary file not shown.
Loading

0 comments on commit 0c88503

Please sign in to comment.