dlegr250_material_design 0.5.50 → 0.5.51

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: 281e890f512d6f194b6b21ec2cb12a1820a30950
4
- data.tar.gz: bbcfe0684c6705bf57066a87a81a25263be571a6
3
+ metadata.gz: 51698693aad455771d9d049faf11041680768696
4
+ data.tar.gz: 2dcfa51b3c62638b9d45cefc8d67fb94c34eeb86
5
5
  SHA512:
6
- metadata.gz: 0d059f988eded66db6aa82ae6d8f0aa799d4e508cb29b6f287d0380cf465c7f8f786cd5ba9b6d47fd0b2a0a2cf976dc48c0efe82cde9f04b95090734264aaa76
7
- data.tar.gz: fe4847b0279fedc0d7d99251c9d19e25984338524df6bac1c1873be7e725ac2e5cfa05aa9feacb6271c52bd1b5a2a89684fbb09645bac70b7706024d1c0de046
6
+ metadata.gz: 6abbc82a74fb68536a448786af688872b83ea4baa8e05796f632e795db8695558edd23d86eb03d8dbae9c91f7fa6984bd346e54ad6f9b868b03c41e9d58d8147
7
+ data.tar.gz: b11c1ab2b41053cc18663a926c711a7b4492225b9400caf46f47152d5f6895b507d63ba22f5e50cbcab2046a435a4e8d350e71118b4951f2e1d2d62501050d61
@@ -1,3 +1,3 @@
1
1
  module Dlegr250MaterialDesign
2
- VERSION = "0.5.50"
2
+ VERSION = "0.5.51"
3
3
  end
@@ -10,20 +10,14 @@ class App.MD.Toggles
10
10
 
11
11
  @setEvents: () ->
12
12
  # Toggle to show/hide elements
13
- $("body").on "click select", "[data-show-element]", (e) =>
14
- # domId = $(event.target).data("show-element")
15
- # $("#{domId}").removeClass("hidden")
13
+ $("body").on "click select", "[data-show-element]", (e) ->
16
14
  $($(this).attr("data-show-element")).show()
17
15
 
18
16
  $(document).on "click", "[data-remove-element]", (e) ->
19
17
  $($(this).attr("data-remove-element")).remove()
20
18
 
21
19
  $(document).on "click", "[role='remove-element']", (e) ->
22
- $this = $(this)
23
- $elementToRemove = $this.attr("data-element")
24
- $this.closest($elementToRemove).remove()
20
+ $($(this).attr("data-element")).remove()
25
21
 
26
- $("body").on "click select", "[data-hide-element]", (e) =>
27
- # domId = $(e.target).data("hide-element")
28
- # $("#{domId}").addClass("hidden")
22
+ $("body").on "click select", "[data-hide-element]", (e) ->
29
23
  $($(this).attr("data-hide-element")).hide()
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dlegr250_material_design
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.50
4
+ version: 0.5.51
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel LeGrand
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-03-14 00:00:00.000000000 Z
11
+ date: 2017-03-15 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: 'WARNING: ALPHA CODE, NOT PRODUCTION READY. ACTIVELY UNDER DEVELOPMENT
14
14
  AS OF AUG 2016. Implement Google Material Design spec with modern browsers in mind