domle 0.4.0 → 0.4.1

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
  SHA256:
3
- metadata.gz: c1603ab1131e919539aca6ca3ea4bc45088d811a09fdf623f4ce587c00998205
4
- data.tar.gz: 9d05226c9c07646e789c4194ca77091a06cd718861ac117bf27db4f98180a4b7
3
+ metadata.gz: e07d0add095c38076dedbab5af6a7ddfeef11ee1fdee619632fc49777e5cb005
4
+ data.tar.gz: 64778a5462f04e3a5edb93dfbedf802fd839f23ce8b1940659811305f1cc1ca8
5
5
  SHA512:
6
- metadata.gz: 51433b3b698d31a7e40133f2155624fa1d92825d79f8b401a1cf90d7d540850022ae1e288bee39065415980685309bdb24589bf8b27e62d2cef2a087ce5f1500
7
- data.tar.gz: 9ce9647e9fa15e1de9939fae49208a6bf7aebc11f5dad2a07b69606fd4e4a224746e528af79cc1331701a8702146739e9e8ab496b08dcb14809b387d71f2e1f9
6
+ metadata.gz: 5df146c6366edea6906c9bdd0f9dfb15de4975a87657f943c25ebf1ad90e24acf4080bb58f04157aa49fadd5c25fdae40ac6a8117fc6f170c7ef3c1fcfadeab3
7
+ data.tar.gz: bf72c5c38dc30a7d98dbc211762e5c1f42a2df3ac91a13b0144a2b39c2b1808abdeabe1898322fc863485047ab208fa9bbf4849c7f2cf2c44639f3ad2880eade
checksums.yaml.gz.sig CHANGED
Binary file
data/lib/domle.rb CHANGED
@@ -142,14 +142,20 @@ class Domle < Rexle
142
142
  @callback, @debug = callback, debug
143
143
 
144
144
  @event = {
145
- keydown: []
145
+ keydown: [],
146
+ keyup: [],
147
+ mousemove: [],
148
+ mousedown: [],
149
+ mouseenter: [],
150
+ mouseleave: [],
151
+ scroll: []
146
152
  }
147
153
 
148
154
  end
149
155
 
150
156
  def addevent_listener(event, method_name)
151
157
 
152
- @event[:keydown] << method_name
158
+ @event[event.to_sym] << method_name
153
159
 
154
160
  end
155
161
 
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: domle
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -35,7 +35,7 @@ cert_chain:
35
35
  ewt0cFO7UqEB/yC8KNeXJjd19INo+w98LYjFZQEzLAg15Sz7ca5bUbr/LuYQUk4y
36
36
  Lvi3w1KUp4YuUbhbhnEQXuPH
37
37
  -----END CERTIFICATE-----
38
- date: 2020-05-01 00:00:00.000000000 Z
38
+ date: 2020-05-02 00:00:00.000000000 Z
39
39
  dependencies:
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: rexle
@@ -46,7 +46,7 @@ dependencies:
46
46
  version: '1.5'
47
47
  - - ">="
48
48
  - !ruby/object:Gem::Version
49
- version: 1.5.15
49
+ version: 1.5.5
50
50
  type: :runtime
51
51
  prerelease: false
52
52
  version_requirements: !ruby/object:Gem::Requirement
@@ -56,7 +56,7 @@ dependencies:
56
56
  version: '1.5'
57
57
  - - ">="
58
58
  - !ruby/object:Gem::Version
59
- version: 1.5.15
59
+ version: 1.5.5
60
60
  - !ruby/object:Gem::Dependency
61
61
  name: csslite
62
62
  requirement: !ruby/object:Gem::Requirement
metadata.gz.sig CHANGED
Binary file