Skip to content

Instantly share code, notes, and snippets.

@fr0gs
Created April 26, 2016 13:03
Show Gist options
  • Save fr0gs/080c484931c778fcb22b661a9b000e95 to your computer and use it in GitHub Desktop.
Save fr0gs/080c484931c778fcb22b661a9b000e95 to your computer and use it in GitHub Desktop.
changedFiles: Ember.observer('files', function() {
var files;
files = this.get('files');
if (!Ember.isEmpty(files)) {
this.sendAction('filesChanged', files);
return this.rerender();
}
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment