Update sub to not break when str is undefined #365

Merged
merged 1 commit into from Apr 25, 2013

Conversation

Projects
None yet
2 participants
@cabello
Contributor

cabello commented Apr 21, 2013

For development reasons, I had a model without destroy defined, but I was calling destroy() on my test, canjs was breaking when calling sub with str = undefined.

Update sub to not break when str is undefined
For development reasons, I had a model without destroy defined, but I was calling `destroy()` on my test, canjs was breaking when calling sub with `str = undefined`.

daffl added a commit that referenced this pull request Apr 25, 2013

Merge pull request #365 from cabello/patch-1
Update sub to not break when str is undefined

@daffl daffl merged commit e16aabf into canjs:master Apr 25, 2013

1 check passed

default The Travis build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment