jquery-colorbox-rails 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 314b7d0fd37c2b0eacdab4de2873801af6b297ce
4
- data.tar.gz: baafe03932253fdc445df136869060fc85e84269
3
+ metadata.gz: cd20cb00510df23113ba2799b042f97b59cdc288
4
+ data.tar.gz: 2a62b82a96e499d0e74b55a69bbfaab78bdb3118
5
5
  SHA512:
6
- metadata.gz: 7ca333c0d78e43d1fa0975535d947b5f6dbb9bc556e5c624e3f7fef79765225f574e3a5876428f000fc817b2873fe7e0858be397c767b40be6dbf37233a97fa3
7
- data.tar.gz: 95fcfaa3bc6873e095bea845d1c51158047043cae95f60c79a087486a65078be66220fcf66854f83c9019f8a64aa04812f661fc370b360c25e34e5eec24c9269
6
+ metadata.gz: f7c6ef343c41ecf4fd07d7e96a20342e918f9b9b82ce71269d936756ad1617607ba85251371f1d271ae9b4301517bbf024d8e402188b00b08e556adeeb4bfaa4
7
+ data.tar.gz: 44de7f69c3c442e3088f6b0d75313a1fd34f8bd7801a558a9a20c8439cfff1da35063d1539dfd6d06f3ca9feb4d3492fb7821ed70dbebbc151115e5a096131af
data/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  jquery-colorbox-rails integrates [jquery.colorbox](https://github.com/jackmoore/colorbox) with rails 3.1+ asset pipeline.
4
4
 
5
- Colorbox version: <b id="colorbox-version">1.6.0</b>
5
+ Colorbox version: <b id="colorbox-version">1.6.2</b>
6
6
 
7
7
  ### Installation
8
8
 
@@ -1,3 +1,3 @@
1
1
  module JqueryColorboxRails
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
@@ -1,8 +1,8 @@
1
1
  /*
2
2
  jQuery Colorbox language configuration
3
3
  language: Hebrew (he)
4
- translated by: DavidCo
5
- site: DavidCo.me
4
+ translated by: David Cohen
5
+ site: dav.co.il
6
6
  */
7
7
  jQuery.extend(jQuery.colorbox.settings, {
8
8
  current: "תמונה {current} מתוך {total}",
@@ -8,8 +8,8 @@ jQuery.extend(jQuery.colorbox.settings, {
8
8
  previous: "上一頁",
9
9
  next: "下一頁",
10
10
  close: "關閉",
11
- xhrError: "此內容加載失敗.",
12
- imgError: "此圖片加載失敗.",
11
+ xhrError: "此內容載入失敗.",
12
+ imgError: "此圖片加入失敗.",
13
13
  slideshowStart: "開始幻燈片",
14
14
  slideshowStop: "結束幻燈片"
15
- });
15
+ });
@@ -1,5 +1,5 @@
1
1
  /*!
2
- Colorbox 1.6.0
2
+ Colorbox 1.6.2
3
3
  license: MIT
4
4
  http://www.jacklmoore.com/colorbox
5
5
  */
@@ -115,7 +115,7 @@
115
115
  iframe.allowTransparency = "true";
116
116
  }
117
117
  iframe.name = (new Date()).getTime(); // give the iframe a unique name to prevent caching
118
- iframe.allowFullScreen = true;
118
+ iframe.allowFullscreen = true;
119
119
 
120
120
  return iframe;
121
121
  }
@@ -974,7 +974,7 @@
974
974
 
975
975
  $(photo)
976
976
  .addClass(prefix + 'Photo')
977
- .bind('error',function () {
977
+ .bind('error.'+prefix,function () {
978
978
  prep($tag(div, 'Error').html(settings.get('imgError')));
979
979
  })
980
980
  .one('load', function () {
@@ -1013,9 +1013,10 @@
1013
1013
 
1014
1014
  if ($related[1] && (settings.get('loop') || $related[index + 1])) {
1015
1015
  photo.style.cursor = 'pointer';
1016
- photo.onclick = function () {
1016
+
1017
+ $(photo).bind('click.'+prefix, function () {
1017
1018
  publicMethod.next();
1018
- };
1019
+ });
1019
1020
  }
1020
1021
 
1021
1022
  photo.style.width = photo.width + 'px';
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jquery-colorbox-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Krzysztof Knapik
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-13 00:00:00.000000000 Z
11
+ date: 2015-07-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -125,7 +125,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
125
125
  version: '0'
126
126
  requirements: []
127
127
  rubyforge_project: jquery-colorbox-rails
128
- rubygems_version: 2.4.3
128
+ rubygems_version: 2.4.6
129
129
  signing_key:
130
130
  specification_version: 4
131
131
  summary: jQuery Colorbox integration for Rails 3.1+ asset pipeline