hooch 0.16.9 → 0.16.10

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
  SHA256:
3
- metadata.gz: 3319e9477cb24348cf9f165517757b0d1e734199ad7b0e0f88885932cccd0198
4
- data.tar.gz: fa60abe04baa5055e0785c641a31db7e07b31f83f5cf090b8ebffdba40718a31
3
+ metadata.gz: 370d879cddf660312cf406765003839b621eb7c05fe962bc4901d53c60529e81
4
+ data.tar.gz: df384090746845ecc9a6ea157d082cd6833d98ec2ad79ec4bfd009fc7d28dc6a
5
5
  SHA512:
6
- metadata.gz: 22a218f7c0d937b275118a899d6d4e65e35a75993344f4c286781a01348d7047f6241c3872ae489d6866a8705715141339912243f2856b02a57825aaaa7f0d93
7
- data.tar.gz: 83ab2d8c78ca7ccc3bd24f90afbc4a014938b62451438dc2b33b1deb1baee17ac2dbfd8eea152b0987d5f5c4479e3b1d3828bd69161c687dad19a12122552440
6
+ metadata.gz: d43409004fbe9ea315d55cc627260ee949da4f3ac4c1d389f46dfbdb5741e5720f5c27a2bd92302afcda51efa8482930e623b14de38ecf3a76cadf01e211bc88
7
+ data.tar.gz: 85eaaf48d866537283960abf2450cc59fcdd0451777bd9874a6384ad63c5f228f679c2a2c4b252f082343cab9409625fd845787e3765e32ec3d224231fd68e27
@@ -208,11 +208,11 @@ var initHooch = function(){
208
208
  }
209
209
  }),
210
210
  ModalDismisser: Class.extend({
211
- init: function($dismisser,modal_mask){
211
+ init: function($dismisser,modal){
212
212
  var dismisser = this
213
213
  this.$dismisser = $dismisser;
214
214
  hooch.dismisser = this
215
- this.modal_mask = modal_mask
215
+ this.modal = modal
216
216
  $dismisser.css({cursor: 'pointer'})
217
217
  $dismisser.on('click', function(){
218
218
  dismisser.dismissModal()
@@ -220,7 +220,7 @@ var initHooch = function(){
220
220
  },
221
221
  dismissModal: function(){
222
222
  hooch.dismisser = null
223
- this.modal_mask.close()
223
+ this.modal.close()
224
224
  }
225
225
  }),
226
226
  Modal: Class.extend({
@@ -265,6 +265,8 @@ var initHooch = function(){
265
265
  this.$modal_mask.hide()
266
266
  this.$modal_content.hide()
267
267
  this.enableScroll()
268
+ //TODO remove this after Foundation is gone.
269
+ $('.reveal-overlay').hide() // HACKITY HACK: this is just to shut Foundation up temporarily until we remove it
268
270
  this.$modal_wrapper.trigger('modalClosed')
269
271
  },
270
272
  disableScroll: function(){
@@ -1,3 +1,3 @@
1
1
  module Hooch
2
- VERSION = "0.16.9"
2
+ VERSION = "0.16.10"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hooch
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.9
4
+ version: 0.16.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Draut