colorbox-rails 0.0.12 → 0.0.13

Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc CHANGED
@@ -41,8 +41,8 @@ Add attributes inside the :data block
41
41
 
42
42
  * rel (need colorbox-static data-attribute to work) (http://www.jacklmoore.com/colorbox/#setting-rel)
43
43
 
44
- <tt><%= link_to "My superb link", "#", rel: 'group1', :data => { :colorbox-static => true } %></tt>
44
+ <tt><%= link_to "My superb link", "#", rel: 'group1', :data => { :colorbox_static => true } %></tt>
45
45
 
46
46
  = License
47
47
 
48
- This project rocks and uses MIT-LICENSE.
48
+ This project rocks and uses MIT-LICENSE.
@@ -28,6 +28,7 @@ $(document).ready(function() {
28
28
  title: $(this).data("colorbox-title") || false,
29
29
  className: $(this).data("colorbox-class-name") || false,
30
30
  href: $(this).attr('href'),
31
+ inline: $(this).data("colorbox-inline") || false,
31
32
  opacity: 0.5
32
33
  });
33
34
  });
@@ -45,6 +46,7 @@ $(document).ready(function() {
45
46
  title: function() { return $(this).data("colorbox-title") || false },
46
47
  className: function() { return $(this).data("colorbox-class-name") || false },
47
48
  href: function() { return $(this).attr('href') },
49
+ inline: function() { return $(this).data("colorbox-inline") || false},
48
50
  opacity: 0.5
49
51
  });
50
52
  });
@@ -1,3 +1,3 @@
1
1
  module ColorboxRails
2
- VERSION = "0.0.12"
2
+ VERSION = "0.0.13"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: colorbox-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.12
4
+ version: 0.0.13
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2013-03-30 00:00:00.000000000 Z
14
+ date: 2013-04-12 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: rails