News for hackers. Stuff that matters.
Re:Ember.js 2.7 and 2.8 beta released by topaxi on Tuesday July 26, 2016 @04:10AM (#12164055)
The xxBy methods are just for convenience, usually you can provide your own function for each method.

Example:

    Ember.computed.map('myArray', function() {
      return foo.bar;
    })
vs.

    Ember.computed.mapBy('myArray', 'bar')
What you are asking for, would need a change to Ember.computed.uniq, allowing it to accept a custom function.

There are no comments on this comment yet.