Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tonydspaniard committed Sep 9, 2017
1 parent 3fb8cb1 commit 0ce7de2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,14 @@ php:
- 5.5
- 5.6
- 7.0
- hhvm

matrix:
allow_failures:
- php: 7.0

install:
- composer self-update
- composer global require "fxp/composer-asset-plugin:~1.2"
- composer global require "fxp/composer-asset-plugin:~1.3"
- composer install

before_script:
Expand Down
4 changes: 2 additions & 2 deletions tests/data/test-carousel.bin
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<script src="/0/js/blueimp-gallery.min.js"></script>
<script src="/2/dosamigos-blueimp-gallery.js"></script>
<script type="text/javascript">jQuery(document).ready(function () {
blueimp.Gallery($('#w1').find('a.gallery-item').hide(), {"carousel":true});
blueimp.Gallery(["String item",{"url":"http://farm3.static.flickr.com/2863/9479121747_0b37c63fe7_b.jpg","options":{"title":"Hafsten - Sunset"}},{"url":"http://farm4.static.flickr.com/3712/9478186779_81c2e5f7ef_b.jpg","src":"http://farm4.static.flickr.com/3712/9478186779_81c2e5f7ef_s.jpg","options":{"title":"Sail us to the Moon"}}], {"test1":function () { },"carousel":true});
blueimp_galleries = ( typeof blueimp_galleries != 'undefined' && blueimp_galleries instanceof Array ) ? blueimp_galleries : [];blueimp_galleries['w1']=blueimp.Gallery($('#w1').find('a.gallery-item').hide(), {"carousel":true});
blueimp_galleries = ( typeof blueimp_galleries != 'undefined' && blueimp_galleries instanceof Array ) ? blueimp_galleries : [];blueimp_galleries['w2']=blueimp.Gallery(["String item",{"url":"http://farm3.static.flickr.com/2863/9479121747_0b37c63fe7_b.jpg","options":{"title":"Hafsten - Sunset"}},{"url":"http://farm4.static.flickr.com/3712/9478186779_81c2e5f7ef_b.jpg","src":"http://farm4.static.flickr.com/3712/9478186779_81c2e5f7ef_s.jpg","options":{"title":"Sail us to the Moon"}}], {"test1":function () { },"carousel":true});
});</script></body>
</html>

0 comments on commit 0ce7de2

Please sign in to comment.