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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 51698693aad455771d9d049faf11041680768696
|
4
|
+
data.tar.gz: 2dcfa51b3c62638b9d45cefc8d67fb94c34eeb86
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6abbc82a74fb68536a448786af688872b83ea4baa8e05796f632e795db8695558edd23d86eb03d8dbae9c91f7fa6984bd346e54ad6f9b868b03c41e9d58d8147
|
7
|
+
data.tar.gz: b11c1ab2b41053cc18663a926c711a7b4492225b9400caf46f47152d5f6895b507d63ba22f5e50cbcab2046a435a4e8d350e71118b4951f2e1d2d62501050d61
|
@@ -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
|
-
$
|
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.
|
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-
|
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
|