corn_starch 1.8.2 → 1.8.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
  SHA1:
3
- metadata.gz: db0dff346cf5f8ff5f14d42b59fa558916ed76a5
4
- data.tar.gz: 33d67031de94c5c0ef41030b3e44dfe08bde85e5
3
+ metadata.gz: b795f7f48c8b186140931645f543f82af2a169b1
4
+ data.tar.gz: 5016582e42c6550b16b1c9b3def3154e5c57f455
5
5
  SHA512:
6
- metadata.gz: cd76b562458303378125270d6ba11d08c89a2f1a4238913141364c0d5cf33fe08e3f6c6303396f54c0de1b31354b6258e41a33feebb2e42135997bffbc7c9709
7
- data.tar.gz: e4aff12c904a7951504a645fa27f42c33db4ac46d2ddf982288f5b115e552af88b66f05eb80cf21d0f10510e70acec2525db6bc00bcde9445bcc7d12a8d4b052
6
+ metadata.gz: 88b8e1558e833fc42fbcb39be74e88e234f91296a05179b4f4e1a23a07352252c20aabf5b2c8f6b603d83016f3e48797c0b822d774eef5b9ba6ee984f3dcceb5
7
+ data.tar.gz: b5f70b0088cc853c2eb8c31c82672666bf2ed9d19fb5797ed623ead3ae873388181a0ab213f83ec31e35798dbe2cd9511e1ea314ff43b9d1fc28f5a196513754
@@ -3,15 +3,23 @@
3
3
 
4
4
  # Modal JS
5
5
 
6
+ # Show Modal
7
+ window.modal_show = (modal) ->
8
+ $("#modal-#{modal}").show 'fast'
9
+
10
+ # Hide Modal
11
+ window.modal_hide = (modal) ->
12
+ $("#modal-#{modal}").hide 'fast'
13
+
6
14
  # Init Modal
7
15
  window.modal_init = (modal) ->
8
16
 
9
17
  # Wire up Show Button
10
18
  if $("#modal-#{modal}-btn-show").length
11
19
  $("#modal-#{modal}-btn-show").click ->
12
- $("#modal-#{modal}").show 'fast'
20
+ modal_show modal
13
21
 
14
22
  # Wire up Hide Button
15
23
  if $("#modal-#{modal}-btn-hide").length
16
24
  $("#modal-#{modal}-btn-hide").click ->
17
- $("#modal-#{modal}").hide 'fast'
25
+ modal_hide modal
@@ -1,3 +1,3 @@
1
1
  module CornStarch
2
- VERSION = '1.8.2'
2
+ VERSION = '1.8.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: corn_starch
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.2
4
+ version: 1.8.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eresse