jquery-modal-rails-assets 0.8.0 → 0.8.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: 1ae1b95417f3bf89e9d017f7276229784c6be4fc
4
- data.tar.gz: 6a7dd2083b50e25498c37f6fd1385e2954d74970
3
+ metadata.gz: 715b0dd8177ba09d5ab2437aa349a49e1de553ae
4
+ data.tar.gz: 7e8570aade83617d5df20053bafeda9df73ee306
5
5
  SHA512:
6
- metadata.gz: 564b3cbe24ed771414d02b13eccb8dd608adbe0780d12c1b07a3ddef27b318d565b3d31413a21b9721c08538ad5fc322c839527707279fbba7a707098b8cad27
7
- data.tar.gz: b9728896110d724694acb6f368a8baa6c6c57f1348f2672264111dbd6a61b232e996090c0aa6c76e0990d364973ca276e9eb8ab0c77b71795f7ccbe313e65489
6
+ metadata.gz: d6a2affe8efa83b07409dfb5f766896b49980bc98ce61f31f5e45e9b159611fbdbbb2aeface18ebe670aa614c0954be0739942bcf74770fa0563cd60d5c03485
7
+ data.tar.gz: 1ae76c74801f784c699384398538e24ad9762d22d937229b647a2e53c2fc195a26747258eba6679b362598425c6385a8fc82462009c2fa0f5aa2409f696a79ac
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  A simple jQuery modal (http://github.com/kylefox/jquery-modal)
3
- Version 0.8.0
3
+ Version 0.8.1
4
4
  */
5
5
 
6
6
  (function (factory) {
@@ -178,7 +178,7 @@
178
178
 
179
179
  //Return context for custom events
180
180
  _ctx: function() {
181
- return { elm: this.$elm, $blocker: this.$blocker, options: this.options };
181
+ return { elm: this.$elm, $elm: this.$elm, $blocker: this.$blocker, options: this.options };
182
182
  }
183
183
  };
184
184
 
@@ -232,8 +232,8 @@
232
232
  };
233
233
 
234
234
  // Automatically bind links with rel="modal:close" to, well, close the modal.
235
- $(document).on('click.modal', 'a[rel="modal:close"]', $.modal.close);
236
- $(document).on('click.modal', 'a[rel="modal:open"]', function(event) {
235
+ $(document).on('click.modal', 'a[rel~="modal:close"]', $.modal.close);
236
+ $(document).on('click.modal', 'a[rel~="modal:open"]', function(event) {
237
237
  event.preventDefault();
238
238
  $(this).modal();
239
239
  });
@@ -1,3 +1,3 @@
1
1
  module JqueryModalRailsAssets
2
- VERSION = "0.8.0"
2
+ VERSION = "0.8.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jquery-modal-rails-assets
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - RogerE
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-09-13 00:00:00.000000000 Z
11
+ date: 2017-07-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  version: '0'
76
76
  requirements: []
77
77
  rubyforge_project:
78
- rubygems_version: 2.6.4
78
+ rubygems_version: 2.6.12
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Use jQuery Modal with Rails Asset Pipeline