olay-rails 0.1.2 → 0.1.3

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
  SHA512:
3
- metadata.gz: 8d16360f660ab207a3e356b1194c38fbdb7b85820f45f8d0a740156ecb9b29a76f4b083f18e96b272d0ff7c7613568dc0667a5010e165072ac0dd0193b64ea2f
4
- data.tar.gz: dd4b1538c1fd9e6e902f86b3b12a0915b4bc98eff76bc347b5703fcf8521614874ee3eb87a73e95cc2c2d9514abdc7898add0629e6a6982800e00e9bb22a2469
3
+ data.tar.gz: d576d4327eef3314aa28bf00da03c5bfbfe3370daf7bc3642540d008f3967367d56af1a359e397dde23e9889ebc554dd22f074294d3f8981e8debd5ef5c5f66a
4
+ metadata.gz: 7aaf0cac7596d0f11294d80eec703a20440d04d8db385b1aceb14d833d8d0ca5664e2df8f5561a286d20e2c5be5a725fda89dbe202a51f2cab733219b090395c
5
5
  SHA1:
6
- metadata.gz: f90c29a004e86a52266532b787f1f1f896ea7986
7
- data.tar.gz: 28cb2f64e0cc044e2c94092fc90c03e63bb6dca7
6
+ data.tar.gz: c64677dd3c9b336c88c72ec0bd1493a236f2a383
7
+ metadata.gz: f7067c70f35fcce6a569f03e37c5d945cc893e4a
data/README.md CHANGED
@@ -20,7 +20,7 @@ And then execute:
20
20
 
21
21
  In your application.js:
22
22
 
23
- // require olay
23
+ //= require olay
24
24
 
25
25
  In your application.scss:
26
26
 
@@ -1,6 +1,6 @@
1
1
  module Olay
2
- VERSION = '0.1.1'
2
+ VERSION = '0.1.2'
3
3
  module Rails
4
- VERSION = '0.1.2'
4
+ VERSION = '0.1.3'
5
5
  end
6
6
  end
@@ -64,7 +64,7 @@
64
64
 
65
65
  // Show the olay.
66
66
  show: function () {
67
- var inDom = $.contains($('body'), this.$container);
67
+ var inDom = $.contains($('body')[0], this.$container[0]);
68
68
  if (inDom && this.$container.hasClass('js-olay-show')) return this;
69
69
  clearTimeout(this._timeout);
70
70
  if (!inDom) this._append();
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: olay-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Casey Foster
@@ -22,7 +22,7 @@ dependencies:
22
22
  version: "3.1"
23
23
  type: :runtime
24
24
  version_requirements: *id001
25
- description: Places Olay 0.1.1 in the Rails asset pipeline.
25
+ description: Places Olay 0.1.2 in the Rails asset pipeline.
26
26
  email:
27
27
  - c@sey.me
28
28
  executables: []