Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow bond to restore after binding twice to the same property #34

Merged
merged 1 commit into from
Jan 30, 2015

Conversation

EndangeredMassa
Copy link
Owner

Given the following, the second test will fail because bond fails to properly restore math.zero. This PR fixes the issue.

it 'setup', ->
  bond(math, 'zero').to 3.14
  bond(math, 'zero').to 12

  equal math.zero, 12

it 'test', ->
  equal math.zero, 0

Addresses: #33

@EndangeredMassa
Copy link
Owner Author

This file is getting to be too much. A future PR should break it into pieces.

EndangeredMassa added a commit that referenced this pull request Jan 30, 2015
allow bond to restore after binding twice to the same property
@EndangeredMassa EndangeredMassa merged commit 92cdd90 into master Jan 30, 2015
@EndangeredMassa EndangeredMassa deleted the double-bond branch January 30, 2015 17:17
@EndangeredMassa
Copy link
Owner Author

published in 1.2.2

@ghost
Copy link

ghost commented Jan 30, 2015

Awesome thanks @EndangeredMassa 😃 - works great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant