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 draggable data to be a falsy value #120

Merged
merged 1 commit into from Sep 29, 2014
Merged

Conversation

j201
Copy link
Contributor

@j201 j201 commented Sep 29, 2014

When the draggable data is falsy, it gets replaced by the value of the binding. This caused an issue for me when I was using $index() as the data, since 0 is falsy.

@rniemeyer
Copy link
Owner

Looks like the right choice. Thanks!

rniemeyer added a commit that referenced this pull request Sep 29, 2014
Allow draggable data to be a falsy value
@rniemeyer rniemeyer merged commit 44a8859 into rniemeyer:master Sep 29, 2014
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.

None yet

2 participants