Skip to content

Commit

Permalink
Always pass records through on refresh (fixes spine#266)
Browse files Browse the repository at this point in the history
  • Loading branch information
maccman committed Apr 29, 2012
1 parent 74c4823 commit 5f311d3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
14 changes: 10 additions & 4 deletions lib/spine.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/spine.coffee
Expand Up @@ -132,7 +132,7 @@ class Model extends Module

@resetIdCounter()

@trigger('refresh', not options.clear and @cloneArray(records))
@trigger('refresh', @cloneArray(records))
this

@select: (callback) ->
Expand Down

0 comments on commit 5f311d3

Please sign in to comment.