opalla 0.1.1 → 0.1.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/opalla/version.rb +1 -1
- data/opal/collection.rb +3 -4
- data/opal/component.rb +2 -1
- 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: 325b6904f4939564d8ef5b0da9c1d4cc4f2cf91a
|
4
|
+
data.tar.gz: 205e9664ba7b63bf7acacbb12ac06c1ebb3a07f3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d5e118ae2aacd2e6fe45d7cbf49817543416a605ffe03dd0a7fd0109d053d5ae08484fd6e4dc21c59dd921218317c3d39b674ab08e67371d5ed49054f24edba9
|
7
|
+
data.tar.gz: 3d2cc8077c966dfa4770b7c4a5736d743486f0f5696a741c60cfff3c4895c635f0b259404c3b34ef2ca9e3317402b3992b4025cdc725a67bd5d0430d235f95c8
|
data/lib/opalla/version.rb
CHANGED
data/opal/collection.rb
CHANGED
@@ -34,11 +34,10 @@ module Opalla
|
|
34
34
|
end
|
35
35
|
when Element
|
36
36
|
sel = '[data-model-id]'
|
37
|
-
$console.log arg
|
38
37
|
if arg.is(sel)
|
39
|
-
|
38
|
+
arg
|
40
39
|
else
|
41
|
-
find(arg.closest(sel).
|
40
|
+
find(arg.closest(sel).attr('data-model-id'))
|
42
41
|
end
|
43
42
|
end
|
44
43
|
end
|
@@ -59,7 +58,7 @@ module Opalla
|
|
59
58
|
end
|
60
59
|
|
61
60
|
def callbacks
|
62
|
-
|
61
|
+
bindings.map { |b| b[:callback] }
|
63
62
|
end
|
64
63
|
|
65
64
|
protected
|
data/opal/component.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opalla
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pedro Maciel
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-05-
|
11
|
+
date: 2017-05-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|