jquery-colorbox-rails 0.3.0 → 0.3.1
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cd20cb00510df23113ba2799b042f97b59cdc288
|
|
4
|
+
data.tar.gz: 2a62b82a96e499d0e74b55a69bbfaab78bdb3118
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f7c6ef343c41ecf4fd07d7e96a20342e918f9b9b82ce71269d936756ad1617607ba85251371f1d271ae9b4301517bbf024d8e402188b00b08e556adeeb4bfaa4
|
|
7
|
+
data.tar.gz: 44de7f69c3c442e3088f6b0d75313a1fd34f8bd7801a558a9a20c8439cfff1da35063d1539dfd6d06f3ca9feb4d3492fb7821ed70dbebbc151115e5a096131af
|
data/README.md
CHANGED
|
@@ -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.
|
|
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.
|
|
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
|
-
|
|
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.
|
|
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-
|
|
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.
|
|
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
|