owlcarousel-rails 1.1.3.2 → 1.1.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3e9f11b4c179fe672ee6962ca3f34c4deb0deca0
4
- data.tar.gz: d01a1d23d730d44a113b91b218d0ffce263bab2a
3
+ metadata.gz: e0cfdff6510732cacb83cac386dc2ba516194ee5
4
+ data.tar.gz: 354d8cea2ffa31841f55388bf8535ddd55cf0bc5
5
5
  SHA512:
6
- metadata.gz: 00961ee9766a27f23f66d46f2defcc3e59079d4c7ddcb5ac4e6cc0c7eed0dba3c23e49dd58f33090e27c0b801f51a1ebe1a9fd19a2013445823e50e12fbff9e5
7
- data.tar.gz: 0e0e9f9952d9f427a7eaabbd60cb08fec2d8f61c2ec7202cebd74771029dbc586e288127cc484f61aa4b2da14ede6511fff69a2c367f1722770421a4a57f271a
6
+ metadata.gz: ab81a715618bb7487e714aec9e859b6204801a7cb86b62df8fc99206bfe73f433a57605d1ea26e8bb008a36d88297596cfd19ae76dc269a5a7235565f8668e70
7
+ data.tar.gz: fe251eb21c4d8b325d83deb284a0b2b74eb342c12dfd556e18a6960e2bee15ad6b6c022e4176c05e8824601dfc9ce84e2e58274ca067c5560786ed1cbcb3b5eb
@@ -1,5 +1,5 @@
1
1
  module Owlcarousel
2
2
  module Rails
3
- VERSION = "1.1.3.2"
3
+ VERSION = "1.1.3.3"
4
4
  end
5
5
  end
@@ -1,5 +1,5 @@
1
1
  /*
2
- * jQuery OwlCarousel v1.3.2
2
+ * jQuery OwlCarousel v1.3.3
3
3
  *
4
4
  * Copyright (c) 2013 Bartosz Wojciechowski
5
5
  * http://www.owlgraphic.com/owlcarousel/
@@ -65,8 +65,10 @@ if (typeof Object.create !== "function") {
65
65
  logIn : function () {
66
66
  var base = this;
67
67
 
68
- base.$elem.data("owl-originalStyles", base.$elem.attr("style"))
69
- .data("owl-originalClasses", base.$elem.attr("class"));
68
+ base.$elem.data({
69
+ "owl-originalStyles": base.$elem.attr("style"),
70
+ "owl-originalClasses": base.$elem.attr("class")
71
+ });
70
72
 
71
73
  base.$elem.css({opacity: 0});
72
74
  base.orignalItems = base.options.items;
@@ -1163,7 +1165,9 @@ if (typeof Object.create !== "function") {
1163
1165
  follow = true;
1164
1166
  }
1165
1167
  if (follow && itemNumber < base.currentItem + base.options.items && $lazyImg.length) {
1166
- base.lazyPreload($item, $lazyImg);
1168
+ $lazyImg.each(function() {
1169
+ base.lazyPreload($item, $(this));
1170
+ });
1167
1171
  }
1168
1172
  }
1169
1173
  },
@@ -1371,9 +1375,10 @@ if (typeof Object.create !== "function") {
1371
1375
  }
1372
1376
  }
1373
1377
  base.clearEvents();
1374
- base.$elem
1375
- .attr("style", base.$elem.data("owl-originalStyles") || "")
1376
- .attr("class", base.$elem.data("owl-originalClasses"));
1378
+ base.$elem.attr({
1379
+ style: base.$elem.data("owl-originalStyles") || "",
1380
+ class: base.$elem.data("owl-originalClasses")
1381
+ });
1377
1382
  },
1378
1383
 
1379
1384
  destroy : function () {
@@ -1509,4 +1514,4 @@ if (typeof Object.create !== "function") {
1509
1514
  startDragging : false,
1510
1515
  afterLazyLoad: false
1511
1516
  };
1512
- }(jQuery, window, document));
1517
+ }(jQuery, window, document));
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  * Core Owl Carousel CSS File
3
- * v1.3.2
3
+ * v1.3.3
4
4
  */
5
5
 
6
6
  /* clearfix */
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  * Owl Carousel Owl Demo Theme
3
- * v1.3.2
3
+ * v1.3.3
4
4
  */
5
5
 
6
6
  .owl-theme .owl-controls{
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: owlcarousel-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.3.2
4
+ version: 1.1.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - OwlFonk
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-01-26 00:00:00.000000000 Z
12
+ date: 2014-07-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: jquery-rails
@@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
81
81
  version: '0'
82
82
  requirements: []
83
83
  rubyforge_project: owlcarousel-rails
84
- rubygems_version: 2.2.1
84
+ rubygems_version: 2.2.2
85
85
  signing_key:
86
86
  specification_version: 4
87
87
  summary: Owl Carousel. Touch enabled jQuery plugin that lets you create beautiful