jquery-colorbox-rails 0.1.0 → 0.1.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: 77d8145a4e9f8e8a554266931c67eadd50a15630
4
- data.tar.gz: 0859e214688b3951c0686edf3adea7bdc16f295a
3
+ metadata.gz: 1317f85a2dc9f0df96c21f852dde033d8ded0024
4
+ data.tar.gz: ce0160a8b27a20ee52d4c0d854c5cdd51bffc408
5
5
  SHA512:
6
- metadata.gz: afa822041cb166b517d7ed01ebc9d01ae78b2f2d7ff25885e3cc3c42ab77fa47db94697414c1381bfa3555750e17c94a70c5099a67f8a63bc8934b68bf241e5b
7
- data.tar.gz: b1a306ddf19c9c5eaa7de2c828d18c63de52e66833e71c4385ed57da713290dfdc86cde0813d16ce3aadbe7d50cf0cc1f0b74b1d702a15283a15bc35583777e7
6
+ metadata.gz: 41ce378789c88634a717a0813dc1467193945211018093491f283aad26684884a08ddd0d63241e3651b00d52abaccbe1866407a335bef904ab3f582af2b25a98
7
+ data.tar.gz: 3f9e7036af414689cdf1b86c0f29fba096afb2a976605e14310f36e259f7d606a30906c4dc6b8f3b80268a991312c4e1267018560e8af25d1fc89254492a6d08
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
- Integrated colorbox version: <b id="colorbox-version">1.4.26</b>
5
+ Integrated colorbox version: <b id="colorbox-version">1.4.27</b>
6
6
 
7
7
  ### Installation
8
8
 
@@ -1,3 +1,3 @@
1
1
  module JqueryColorboxRails
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
@@ -0,0 +1,15 @@
1
+ /*
2
+ jQuery Colorbox language configuration
3
+ language: Indonesian (id)
4
+ translated by: sarwasunda
5
+ */
6
+ jQuery.extend(jQuery.colorbox.settings, {
7
+ current: "ke {current} dari {total}",
8
+ previous: "Sebelumnya",
9
+ next: "Berikutnya",
10
+ close: "Tutup",
11
+ xhrError: "Konten ini tidak dapat dimuat.",
12
+ imgError: "Gambar ini tidak dapat dimuat.",
13
+ slideshowStart: "Putar",
14
+ slideshowStop: "Berhenti"
15
+ });
@@ -1,5 +1,5 @@
1
1
  /*!
2
- Colorbox v1.4.26 - 2013-06-30
2
+ Colorbox v1.4.27 - 2013-07-16
3
3
  jQuery lightbox and modal window plugin
4
4
  (c) 2013 Jack Moore - http://www.jacklmoore.com/colorbox
5
5
  license: http://www.opensource.org/licenses/mit-license.php
@@ -353,7 +353,8 @@
353
353
  // Show colorbox so the sizes can be calculated in older versions of jQuery
354
354
  $box.css({visibility:'hidden', display:'block'});
355
355
 
356
- $loaded = $tag(div, 'LoadedContent', 'width:0; height:0; overflow:hidden').appendTo($content);
356
+ $loaded = $tag(div, 'LoadedContent', 'width:0; height:0; overflow:hidden');
357
+ $content.css({width:'', height:''}).append($loaded);
357
358
 
358
359
  // Cache values needed for size calculations
359
360
  interfaceHeight = $topBorder.height() + $bottomBorder.height() + $content.outerHeight(true) - $content.height();
@@ -361,7 +362,6 @@
361
362
  loadedHeight = $loaded.outerHeight(true);
362
363
  loadedWidth = $loaded.outerWidth(true);
363
364
 
364
-
365
365
  // Opens inital empty Colorbox prior to content being loaded.
366
366
  settings.w = setSize(settings.initialWidth, 'x');
367
367
  settings.h = setSize(settings.initialHeight, 'y');
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.1.0
4
+ version: 0.1.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: 2013-07-13 00:00:00.000000000 Z
11
+ date: 2013-08-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -60,6 +60,7 @@ files:
60
60
  - vendor/assets/javascripts/jquery.colorbox-fr.js
61
61
  - vendor/assets/javascripts/jquery.colorbox-hr.js
62
62
  - vendor/assets/javascripts/jquery.colorbox-hu.js
63
+ - vendor/assets/javascripts/jquery.colorbox-id.js
63
64
  - vendor/assets/javascripts/jquery.colorbox-it.js
64
65
  - vendor/assets/javascripts/jquery.colorbox-ja.js
65
66
  - vendor/assets/javascripts/jquery.colorbox-kr.js