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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a29fc0d00e33d30447ff1a6c23c91aac9de6a888
4
- data.tar.gz: 6311499b00109319e1a1169f747af4c084e74c90
3
+ metadata.gz: 6e115c17e5eca602d8855f0c445e98e9bbf03f28
4
+ data.tar.gz: 4c954ef99e3a0ab642d2bd20123773522faa9d82
5
5
  SHA512:
6
- metadata.gz: 2059b83f59ae510d81df3aaca95a1849ac7292fe2c2ae339202838670f22d89d7f2f4f00c2c7b4b706711123ac0b0b520c22597c260714d386fc0ee880e42553
7
- data.tar.gz: ce506712e1ac6205af903fd57c1963e871953d923b2ba9a75b595038ca37dcc9185fb845788583d925d777daaa1f73c8491a3578738554d20f140bc87e212558
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.register
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.register ->
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.register = (callback) ->
37
+ Twine.afterBound = (callback) ->
38
38
  if currentBindingCallbacks
39
39
  currentBindingCallbacks.push(callback)
40
40
  else
@@ -1,3 +1,3 @@
1
1
  module TwineRails
2
- VERSION = '0.0.18'
2
+ VERSION = '0.1.0'
3
3
  end
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.18
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-04-23 00:00:00.000000000 Z
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.2
89
+ rubygems_version: 2.2.3
90
90
  signing_key:
91
91
  specification_version: 4
92
92
  summary: Minimalistic two-way bindings