fix the helper
This commit is contained in:
parent
134f93be86
commit
0ba8019c64
|
@ -1,5 +1,6 @@
|
|||
Backbone.Collection.prototype.ensureFetched = (callback) ->
|
||||
if (@_alreadyEnsureFetched)
|
||||
if !@_alreadyEnsureFetched
|
||||
_refresher = null
|
||||
_refresher =>
|
||||
this.unbind('refresh', _refresher)
|
||||
callback.apply(this)
|
||||
|
|
Loading…
Reference in New Issue