Skip to content

Instantly share code, notes, and snippets.

@jonsmock
Created May 24, 2012 21:43
Show Gist options
  • Select an option

  • Save jonsmock/2784413 to your computer and use it in GitHub Desktop.

Select an option

Save jonsmock/2784413 to your computer and use it in GitHub Desktop.

Revisions

  1. jonsmock created this gist May 24, 2012.
    12 changes: 12 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,12 @@
    App.ticketsController = Em.ArrayController.create({
    content: Em.A();
    });


    App.backlogController = Em.ArrayController.create({
    contentBinding: Em.Binding.transform(function(value, binding) {
    return value.filter(function(item, index, enumerable) {
    return (item.get('assigned') == undefined);
    });
    }).from("App.ticketsController.content")
    });