Skip to content

Conversation

@orderedlist
Copy link
Collaborator

This fixes callstack errors with apm. I think the proto assignment is a recent thing, maybe added by @maxkorp? Tests pass without, so not sure the reason for the addition.

What think ye?

@tbranyen
Copy link
Member

tbranyen commented Mar 5, 2015

Excellent catch! I was just doing some testing and realized that we're augmenting Function.prototype with that __proto__ assignment 😱

> Function.prototype.WALK_MODE
{ WALK_PRE: 0, WALK_POST: 1 }

orderedlist added a commit that referenced this pull request Mar 5, 2015
@orderedlist orderedlist merged commit c620497 into master Mar 5, 2015
@tbranyen tbranyen deleted the ol-fix-apm-callstack branch March 5, 2015 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants