Skip to content

Commit

Permalink
Merge pull request #31 from shaunc/disable-proto-ext
Browse files Browse the repository at this point in the history
disabling prototype extentions
  • Loading branch information
mmun committed Aug 20, 2015
2 parents ccf4b15 + 7cc33e6 commit 5775bee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion addon/components/ember-collection.js
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ export default Ember.Component.extend({
style = formatStyle(pos, width, height);
cell = new Cell(itemKey, items[itemIndex], itemIndex, style);
cellMap[itemKey] = cell;
this._cells.pushObject(cell);
this._cells.push(cell);
}
this._cellMap = cellMap;
return this._cells;
Expand Down
4 changes: 1 addition & 3 deletions tests/dummy/config/environment.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ module.exports = function(environment) {
baseURL: '/',
locationType: 'auto',
EmberENV: {
EXTEND_PROTOTYPES: {
Array: true
},
EXTEND_PROTOTYPES: false,
FEATURES: {
// Here you can enable experimental features on an ember canary build
// e.g. 'with-controller': true
Expand Down

0 comments on commit 5775bee

Please sign in to comment.