dlegr250_material_design 0.1.8 → 0.1.9
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: 61180b47b429807207b2dac70f2f6685beacc1b2
|
4
|
+
data.tar.gz: 85cc953974907c3b9d87fa8b4ee9e2cf2398c951
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e789e3a71a55d76f5b183490b99c8aa289aefdf4adb282b853dd03b5367fe9d85475e2a0c691f25bc0ba54a8ff1cbea10b7b13cc95dd62d18dcd24d6116fa99f
|
7
|
+
data.tar.gz: a98414656a80888453f53eb8c35649e521bfe31cd071ada268f984f57a1c94f5c61b48f465735668ca52a55e109db82e6c4e4887c7372e7d2efbdd5c741711d4
|
@@ -35,31 +35,6 @@ class App.MD.Layout
|
|
35
35
|
if event.target.id == @$overlay.attr("id")
|
36
36
|
@.hideOverlay()
|
37
37
|
|
38
|
-
# Touch interaction require a #main area to trigger the actions.
|
39
|
-
# Tries to ensure swipe only happens from parent element.
|
40
|
-
if @$main.length > 0
|
41
|
-
if @$leftSidebar.length > 0
|
42
|
-
@$main.hammer({}).bind("swiperight", (event) =>
|
43
|
-
if $(event.gesture.target).attr("id") == @$main.attr("id")
|
44
|
-
if $(window).width() < @$largeWidth
|
45
|
-
@.showLeftSidebar()
|
46
|
-
)
|
47
|
-
|
48
|
-
@$leftSidebar.hammer({}).bind("swipeleft", =>
|
49
|
-
@.hideOverlay()
|
50
|
-
)
|
51
|
-
|
52
|
-
if @$rightSidebar.length > 0
|
53
|
-
@$main.hammer({}).bind("swipeleft", =>
|
54
|
-
if $(event.gesture.target).attr("id") == @$main.attr("id")
|
55
|
-
if $(window).width() < @$largeWidth
|
56
|
-
@.showRightSidebar()
|
57
|
-
)
|
58
|
-
|
59
|
-
@$rightSidebar.hammer({}).bind("swiperight", =>
|
60
|
-
@.hideOverlay()
|
61
|
-
)
|
62
|
-
|
63
38
|
@showLeftSidebar: () ->
|
64
39
|
@.showOverlay()
|
65
40
|
@$leftSidebar.addClass("visible")
|