isomorfeus-preact 10.6.11 → 10.6.12

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: 31712ed0f9ae9ffdad128f734581d46f8e8c42c9b2e4660fd023e8c8e6c29cd9
4
- data.tar.gz: 5d8035565fe46d1f4d35becbd6b2af8981034ba5c2040f748ecf19733c46b150
3
+ metadata.gz: dbb1ab44f4abdcc7cae7f4d2e1eddd2be46f9598e3e632447e80df5565751388
4
+ data.tar.gz: 1d090bea6a1c20472951832066106c01455b711c785bd6c8978917adacf411de
5
5
  SHA512:
6
- metadata.gz: dd8454cfe6a04e9f96cce37ea4d4431e4fb66e575951acd0f4e588a8120350dc5393112db237895a452cea5e1bcc61bb5e95e918ad0ef34f94bdd0c3ba5b4b34
7
- data.tar.gz: 28ab752e804690e31fb180c44e3b9226bac2bf09114f46a258b9d15c7bdbee570c9068c22898ee91f5d1a4d47ac5cfb150a0a4159fc00ba85754b99766051430
6
+ metadata.gz: 1a3fe6e155523191ea2f39e858406b94df39a1e2a6a6afac92394cfb4af34adf51b9e1b314ba17441f8009e3e19ff0143efdde441d35de3c41259425aa274498
7
+ data.tar.gz: ccc2b7b87060ae70fcc603539c51c2444d0638349e4e679faf88e884755864d02f5fa2004878e95ffe17e7dea50cc8f595be99dd30999fbeaf8014f2645869fd
data/lib/browser/event.rb CHANGED
@@ -14,6 +14,7 @@ module Browser
14
14
  `#@native.preventDefault()`
15
15
  self
16
16
  end
17
+ alias_method :prevent_default, :prevent
17
18
 
18
19
  # Prevent the runtime from bubbling this event up the hierarchy. This is
19
20
  # typically used to keep an event local to the element on which it was
@@ -31,6 +32,7 @@ module Browser
31
32
  def prevented?
32
33
  `#@native.defaultPrevented`
33
34
  end
35
+ alias_method :default_prevented?, :prevented?
34
36
 
35
37
  # @return [Boolean] true if the Meta/Command/Windows key was pressed when
36
38
  # this event fired, false otherwise
@@ -1,3 +1,3 @@
1
1
  module Preact
2
- VERSION = '10.6.11'
2
+ VERSION = '10.6.12'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: isomorfeus-preact
3
3
  version: !ruby/object:Gem::Version
4
- version: 10.6.11
4
+ version: 10.6.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Biedermann
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-01-19 00:00:00.000000000 Z
11
+ date: 2022-01-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: concurrent-ruby