twine-rails 0.0.18 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- 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: 6e115c17e5eca602d8855f0c445e98e9bbf03f28
|
4
|
+
data.tar.gz: 4c954ef99e3a0ab642d2bd20123773522faa9d82
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: caa0a7f28e6ae36e1915341441f7ed09b0b0cdc9176d0bd07cfc9c08db33e8c026d105b46caf0e4ab9c118c8f7ac3a2bc54bf28ad19c53ada12699f892da2d9f
|
7
|
+
data.tar.gz: f5a1abc2a3c4d5fed24349b3bdc1866d334985b7d54b01ca4938635ad0ff52dc02db89e335ed0b583cbff1527d99883662eeae1bf0d1e9452bf65ec0c548c90f
|
data/README.md
CHANGED
@@ -97,7 +97,7 @@ $(document).ajaxComplete ->
|
|
97
97
|
Twine.refresh()
|
98
98
|
```
|
99
99
|
|
100
|
-
## Twine.
|
100
|
+
## Twine.afterBound
|
101
101
|
|
102
102
|
Registers a function to be called when the currently binding node and its children have finished binding.
|
103
103
|
|
@@ -106,7 +106,7 @@ Example:
|
|
106
106
|
```coffee
|
107
107
|
class Foo
|
108
108
|
constructor: ->
|
109
|
-
Twine.
|
109
|
+
Twine.afterBound ->
|
110
110
|
console.log("done")
|
111
111
|
|
112
112
|
# other methods needed in the context
|
@@ -34,7 +34,7 @@ Twine.reset = (newContext, node = document.documentElement) ->
|
|
34
34
|
Twine.bind = (node = rootNode, context = Twine.context(node)) ->
|
35
35
|
bind(context, node, true)
|
36
36
|
|
37
|
-
Twine.
|
37
|
+
Twine.afterBound = (callback) ->
|
38
38
|
if currentBindingCallbacks
|
39
39
|
currentBindingCallbacks.push(callback)
|
40
40
|
else
|
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.1.0
|
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-06-08 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.3
|
90
90
|
signing_key:
|
91
91
|
specification_version: 4
|
92
92
|
summary: Minimalistic two-way bindings
|