fix the helper

This commit is contained in:
John Bintz 2011-05-19 22:23:48 -04:00
parent 134f93be86
commit 0ba8019c64
1 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
Backbone.Collection.prototype.ensureFetched = (callback) ->
if (@_alreadyEnsureFetched)
if !@_alreadyEnsureFetched
_refresher = null
_refresher =>
this.unbind('refresh', _refresher)
callback.apply(this)