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

@method map
@param {Object} obj The object that should be mapped
@param {Function} callback The callback to execute
@param {Object} thisArg Value to use as this when executing *callback*

@return {Array} An array of mapped values.