twine-rails 0.0.16 → 0.0.18
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 +5 -0
- data/lib/twine-rails/version.rb +1 -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: a29fc0d00e33d30447ff1a6c23c91aac9de6a888
|
4
|
+
data.tar.gz: 6311499b00109319e1a1169f747af4c084e74c90
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2059b83f59ae510d81df3aaca95a1849ac7292fe2c2ae339202838670f22d89d7f2f4f00c2c7b4b706711123ac0b0b520c22597c260714d386fc0ee880e42553
|
7
|
+
data.tar.gz: ce506712e1ac6205af903fd57c1963e871953d923b2ba9a75b595038ca37dcc9185fb845788583d925d777daaa1f73c8491a3578738554d20f140bc87e212558
|
@@ -283,6 +283,11 @@ Twine.bindingTypes =
|
|
283
283
|
context[key] = value for key, value of object
|
284
284
|
return
|
285
285
|
|
286
|
+
eval: (node, context, definition) ->
|
287
|
+
fn = wrapFunctionString(definition, '$context,$root', node)
|
288
|
+
fn.call(node, context, rootContext)
|
289
|
+
return
|
290
|
+
|
286
291
|
setupAttributeBinding = (attributeName, bindingName) ->
|
287
292
|
booleanAttribute = attributeName in ['checked', 'disabled', 'readOnly']
|
288
293
|
|
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.0.
|
4
|
+
version: 0.0.18
|
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-04-23 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: coffee-rails
|