twine-rails 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 +4 -4
- data/lib/assets/javascripts/twine.js.coffee +1 -1
- data/lib/twine-rails/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a6d017ab011952267836b83fb7ce92d6f899b956
|
4
|
+
data.tar.gz: efb0d4ec2831fb6e29191c78739189a630826107
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9b73dac0813036283699cde20ed529bc70d2cd645594acbce468522cca55031de164fa7e6cfea0bf311dfd43940aeb277a2a37066780f6784b1383d8978b903c
|
7
|
+
data.tar.gz: 0210493867dada6123415e4e00ad08b56156234e18bd9156e439f2cad8ebbc9f2e66672138e67f01bfd09636e1a954104951e0017e07e6e01a779064e007c9fe
|
@@ -45,7 +45,7 @@ bind = (context, node, forceSaveContext) ->
|
|
45
45
|
if node.bindingId
|
46
46
|
Twine.unbind(node)
|
47
47
|
|
48
|
-
for type, binding of Twine.bindingTypes when definition = node.getAttribute(type)
|
48
|
+
for type, binding of Twine.bindingTypes when definition = (node.getAttribute(type) || node.getAttribute("data-#{type}"))
|
49
49
|
element = {bindings: []} unless element # Defer allocation to prevent GC pressure
|
50
50
|
fn = binding(node, context, definition, element)
|
51
51
|
element.bindings.push(fn) if fn
|
data/lib/twine-rails/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: twine-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Li
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2015-
|
13
|
+
date: 2015-10-19 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: coffee-rails
|
@@ -86,7 +86,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
86
86
|
version: '0'
|
87
87
|
requirements: []
|
88
88
|
rubyforge_project:
|
89
|
-
rubygems_version: 2.2.
|
89
|
+
rubygems_version: 2.2.2
|
90
90
|
signing_key:
|
91
91
|
specification_version: 4
|
92
92
|
summary: Minimalistic two-way bindings
|