Permalink
Browse files

Bug fix in assertion

  • Loading branch information...
1 parent 49d46d8 commit c422bcbcec230f6f369e845fb2255e3c882459a2 Kevin Malakoff committed Oct 26, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/knockback-core/knockback-store.coffee
@@ -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

0 comments on commit c422bcb

Please sign in to comment.