Skip to content

Commit

Permalink
Merge pull request emberjs#8 from twokul/api-documentation-audit
Browse files Browse the repository at this point in the history
adding docs for Ember.ArrayPolyfills
  • Loading branch information
trek committed Aug 9, 2013
2 parents 2986e36 + 12b0a80 commit 2c1ec02
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/ember-metal/lib/array.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,12 @@ var arrayIndexOf = isNativeFunc(Array.prototype.indexOf) ? Array.prototype.index
return -1;
};

/**
Array polyfills to support ES5 features in older browsers.
@namespace Ember
@property ArrayPolyfills
*/
Ember.ArrayPolyfills = {
map: arrayMap,
forEach: arrayForEach,
Expand Down

0 comments on commit 2c1ec02

Please sign in to comment.