dlegr250_material_design 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -0
- data/lib/dlegr250_material_design/version.rb +1 -1
- data/vendor/assets/javascripts/components/layout.coffee +6 -4
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e1b4b770026642b9e2211a29af35c56ea51d88b1
|
4
|
+
data.tar.gz: d97f87c4cf7a77d208dda32170cac06f76652d40
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e2f9951d6c30d9eb0c4e274ec2a8ce4b8bf1a30491f8cdb93a126308142d35205bcab24b776980935b04bb50222c1abe3cd212abf39dc8f610ea001c263176a7
|
7
|
+
data.tar.gz: fe701187aafb4a4805e03e644ea9a184b52d2d1393c55a86a937c897ffc444bfc7dd99bdfe43ce6cf9b99ca64730496ac5fe3049732d1a4450558dee2bc06275
|
data/README.md
CHANGED
@@ -71,6 +71,10 @@ Note that you can always override an element's color or background color using t
|
|
71
71
|
|
72
72
|
* Finalize components that will be implemented
|
73
73
|
* Test in major browser versions and mobile devices
|
74
|
+
* Styleguide to demo usage and components
|
75
|
+
* Optimize file sizes
|
76
|
+
* Create custom Snackbar component instead of using third-party
|
77
|
+
* Remove handlebars templating library (should not be a UI element, should be added to an individual application if needed)
|
74
78
|
* Update JS/CoffeeScript to use ES6 when that becomes mainstream, and IF the Rails Core is going to adopt ES6 as a standard; this gem is more about building Rails applications than using a specific JavaScript implementation
|
75
79
|
|
76
80
|
## Development
|
@@ -32,21 +32,23 @@ class App.MD.Layout
|
|
32
32
|
|
33
33
|
# Touch interaction require a #main area to trigger the actions.
|
34
34
|
if @$main.length > 0
|
35
|
+
console.log "main exist"
|
35
36
|
if @$leftSidebar.length > 0
|
36
|
-
|
37
|
+
console.log "left-sidebar exist"
|
38
|
+
@$main.hammer({}).bind("swiperight", =>
|
37
39
|
@.showLeftSidebar()
|
38
40
|
)
|
39
41
|
|
40
|
-
@$leftSidebar.hammer({}).bind("swipeleft",
|
42
|
+
@$leftSidebar.hammer({}).bind("swipeleft", =>
|
41
43
|
@.hideOverlay()
|
42
44
|
)
|
43
45
|
|
44
46
|
if @$rightSidebar.length > 0
|
45
|
-
@$main.hammer({}).bind("swipeleft",
|
47
|
+
@$main.hammer({}).bind("swipeleft", =>
|
46
48
|
@.showRightSidebar()
|
47
49
|
)
|
48
50
|
|
49
|
-
@$rightSidebar.hammer({}).bind("swiperight",
|
51
|
+
@$rightSidebar.hammer({}).bind("swiperight", =>
|
50
52
|
@.hideOverlay()
|
51
53
|
)
|
52
54
|
|