FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Don't assign enums to __proto__ by orderedlist · Pull Request #464 · nodegit/nodegit · GitHub

Repository navigation

Don't assign enums to __proto__ - #464

Merged
orderedlist merged 1 commit into
masterfrom
ol-fix-apm-callstack
Mar 5, 2015
Merged

orderedlist merged 1 commit into
masterfrom
ol-fix-apm-callstack

Conversation

Copy link
Copy Markdown
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 commented Mar 5, 2015

Copy link
Copy Markdown
Member

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 merged commit c620497 into master Mar 5, 2015
tbranyen deleted the ol-fix-apm-callstack branch March 5, 2015 17:04
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL