Skip to content

Commit

Permalink
Bug fix in assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Malakoff committed Oct 26, 2012
1 parent 49d46d8 commit c422bcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/knockback-core/knockback-store.coffee
Expand Up @@ -145,7 +145,7 @@ class kb.Store

# @private
findOrReplace: (obj, creator, observable) ->
obj or raiseUnexpected('obj missing')
obj or _throwUnexpected(@, 'obj missing')
if (index = @findIndex(obj, creator)) < 0
return @register(obj, observable, {creator: creator})
else
Expand Down

0 comments on commit c422bcb

Please sign in to comment.