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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8c0db7366b0cf2fc0cc909d903dc15123bb15774
4
- data.tar.gz: 298166383c3d9d0b95e1944aabef9285d3c6183f
3
+ metadata.gz: e1b4b770026642b9e2211a29af35c56ea51d88b1
4
+ data.tar.gz: d97f87c4cf7a77d208dda32170cac06f76652d40
5
5
  SHA512:
6
- metadata.gz: f3550e9f165090658ebc06995f3becfb8bbe325153d0ad8169e044f83115b26a1a00640e70d0f79c40e9f9989de3a5764b30e4d8577d45963c1b8cb2d229ccd4
7
- data.tar.gz: 0b238a68b64be39890cbe35ce8b07d67f344c281b4366ccc618b6fbd35d18a5277fbcb0cfc9e4375d844798c70f69f57395d57ec90f15ce38698750f6a9a037d
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
@@ -1,3 +1,3 @@
1
1
  module Dlegr250MaterialDesign
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
@@ -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
- @$main.hammer({}).bind("swiperight", ->
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
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dlegr250_material_design
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel LeGrand