jquery-colorbox-rails 0.1.6 → 0.1.8
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 +4 -4
- data/README.md +1 -1
- data/lib/jquery-colorbox-rails/version.rb +1 -1
- data/vendor/assets/javascripts/jquery.colorbox.js +8 -9
- metadata +12 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3942876f4c5a57b1629a3954585ea5799b634a25
|
4
|
+
data.tar.gz: 8a251ac4ab46aeb9a3d2477a9d2712d307cf6ad8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a9c6313e0b7e39dbdfe5c2df705441ee305b9bb7de8324992633db04e748d711bef97a96c9e6b465b1b2e2e76ffeab3a0130ba19cafd527854042dd676521a5a
|
7
|
+
data.tar.gz: 4928ed7ed5f1d502547368be51914d3f3f611891560d904ebe7554b41efd331f205efb6b654d3df6164d2647694659a39abc8acf7ecc95aa4bd806d88c68cd2d
|
data/README.md
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
Colorbox v1.5.
|
2
|
+
Colorbox v1.5.10 - 2014-06-26
|
3
3
|
jQuery lightbox and modal window plugin
|
4
4
|
(c) 2014 Jack Moore - http://www.jacklmoore.com/colorbox
|
5
5
|
license: http://www.opensource.org/licenses/mit-license.php
|
@@ -89,7 +89,6 @@
|
|
89
89
|
}
|
90
90
|
},
|
91
91
|
|
92
|
-
|
93
92
|
// Abstracting the HTML and event identifiers for easy rebranding
|
94
93
|
colorbox = 'colorbox',
|
95
94
|
prefix = 'cbox',
|
@@ -242,7 +241,7 @@
|
|
242
241
|
function getRelated(rel) {
|
243
242
|
index = 0;
|
244
243
|
|
245
|
-
if (rel && rel !== false) {
|
244
|
+
if (rel && rel !== false && rel !== 'nofollow') {
|
246
245
|
$related = $('.' + boxElement).filter(function () {
|
247
246
|
var options = $.data(this, colorbox);
|
248
247
|
var settings = new Settings(this, options);
|
@@ -353,7 +352,7 @@
|
|
353
352
|
|
354
353
|
if (!closing) {
|
355
354
|
|
356
|
-
options = $(element).data(
|
355
|
+
options = $(element).data(colorbox);
|
357
356
|
|
358
357
|
settings = new Settings(element, options);
|
359
358
|
|
@@ -549,7 +548,7 @@
|
|
549
548
|
}
|
550
549
|
|
551
550
|
// Don't do anything if Colorbox already exists.
|
552
|
-
if (
|
551
|
+
if ($[colorbox]) {
|
553
552
|
return;
|
554
553
|
}
|
555
554
|
|
@@ -1067,8 +1066,8 @@
|
|
1067
1066
|
if (!$box) { return; }
|
1068
1067
|
|
1069
1068
|
$box.stop();
|
1070
|
-
|
1071
|
-
$box.stop().remove();
|
1069
|
+
$[colorbox].close();
|
1070
|
+
$box.stop(false, true).remove();
|
1072
1071
|
$overlay.remove();
|
1073
1072
|
closing = false;
|
1074
1073
|
$box = null;
|
@@ -1076,7 +1075,7 @@
|
|
1076
1075
|
.removeData(colorbox)
|
1077
1076
|
.removeClass(boxElement);
|
1078
1077
|
|
1079
|
-
$(document).unbind('click.'+prefix);
|
1078
|
+
$(document).unbind('click.'+prefix).unbind('keydown.'+prefix);
|
1080
1079
|
};
|
1081
1080
|
|
1082
1081
|
// A method for fetching the current element Colorbox is referencing.
|
@@ -1087,4 +1086,4 @@
|
|
1087
1086
|
|
1088
1087
|
publicMethod.settings = defaults;
|
1089
1088
|
|
1090
|
-
}(jQuery, document, window));
|
1089
|
+
}(jQuery, document, window));
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jquery-colorbox-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Krzysztof Knapik
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-07-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - '>='
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '3.1'
|
20
|
+
- - <=
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '5.0'
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- -
|
27
|
+
- - '>='
|
25
28
|
- !ruby/object:Gem::Version
|
26
29
|
version: '3.1'
|
30
|
+
- - <=
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '5.0'
|
27
33
|
description: jQuery Colorbox [https://github.com/jackmoore/colorbox] integration for
|
28
34
|
Rails 3.1+ asset pipeline
|
29
35
|
email:
|
@@ -108,12 +114,12 @@ require_paths:
|
|
108
114
|
- lib
|
109
115
|
required_ruby_version: !ruby/object:Gem::Requirement
|
110
116
|
requirements:
|
111
|
-
- -
|
117
|
+
- - '>='
|
112
118
|
- !ruby/object:Gem::Version
|
113
119
|
version: '0'
|
114
120
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
115
121
|
requirements:
|
116
|
-
- -
|
122
|
+
- - '>='
|
117
123
|
- !ruby/object:Gem::Version
|
118
124
|
version: '0'
|
119
125
|
requirements: []
|