js/libs/ember-1.5.1.js
function(obj, callback, thisArg) {
    return obj.filter ? obj.filter.call(obj, callback, thisArg) : filter.call(obj, callback, thisArg);
  }
function(obj, callback, thisArg) {
    return obj.filter ? obj.filter.call(obj, callback, thisArg) : filter.call(obj, callback, thisArg);
  }
Calls the filter function on the passed object with a specified callback. This
uses `Ember.ArrayPolyfill`'s-filter method when necessary.

@method filter
@param {Object} obj The object to call filter on
@param {Function} callback The callback to execute
@param {Object} thisArg Value to use as this when executing *callback*

@return {Array} An array containing the filtered values