fron-ui 1.0.0rc3 → 1.0.0rc4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/fron_ui/version.rb +1 -1
- data/opal/fron-ui/behaviors/actions.rb +1 -5
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4a1f10e81e34b5d6a500b89c71906eea8cfdcdec
|
|
4
|
+
data.tar.gz: d8144ed8224a9fb9850d3c27352abae5a2045ecc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d1baa30357a0d7a8b53eea2b90a50872f1cfa959d307fba5e1db7182cae7f26a0df3a615b75bc0e7f2e73eb4744191a164bb3fc2a685f8cc6a86f85a2ff0974a
|
|
7
|
+
data.tar.gz: 0f04d9f33d234d804112ece3b615f88999a9dc58ffafd0c55b8fb92c16c72828f0c6d88166c58ce3b34a568a64cd099e72ce3c779d137a792036ec695402dc76
|
data/Gemfile.lock
CHANGED
data/lib/fron_ui/version.rb
CHANGED
|
@@ -7,17 +7,13 @@ module UI
|
|
|
7
7
|
# @author Gusztáv Szikszai
|
|
8
8
|
# @since 0.1.0
|
|
9
9
|
module Actions
|
|
10
|
-
IS_TOUCH = `'ontouchstart' in window && !window._phantom`
|
|
11
|
-
|
|
12
|
-
METHOD = IS_TOUCH ? :touchstart : :click
|
|
13
|
-
|
|
14
10
|
# Sets up the behavior:
|
|
15
11
|
#
|
|
16
12
|
# * Sets up event for the action
|
|
17
13
|
#
|
|
18
14
|
# @param base [Fron::Component] The includer
|
|
19
15
|
def self.included(base)
|
|
20
|
-
base.on
|
|
16
|
+
base.on :click, '[action]', :handle_action
|
|
21
17
|
end
|
|
22
18
|
|
|
23
19
|
private
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fron-ui
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.0rc4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Gusztav Szikszai
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-06-
|
|
11
|
+
date: 2016-06-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: fron
|