Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Don't assign enums to __proto__#464

Merged
orderedlist merged 1 commit intomasternodegit/nodegit:masterfrom
ol-fix-apm-callstacknodegit/nodegit:ol-fix-apm-callstackCopy head branch name to clipboard
Mar 5, 2015
Merged

Don't assign enums to __proto__#464
orderedlist merged 1 commit intomasternodegit/nodegit:masterfrom
ol-fix-apm-callstacknodegit/nodegit:ol-fix-apm-callstackCopy head branch name to clipboard

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.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.