Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use github tarball link for esprima dependency #109

Merged
merged 1 commit into from
Jun 19, 2013

Conversation

zpao
Copy link
Member

@zpao zpao commented Jun 18, 2013

It turns out that (at least for local development) npm has a long
standing bug where it doesn't recognize changing dependencies stored as
git urls (see https://github.com/isaacs/npm/issues/1727). Luckily npm
understand tarballs and GitHub provides tarballs for every commit, so
the workaround is easy, though unfortunate.

We'll want to put out a 0.3.x for this so that we don't break it when @jeffmo updates esprima

It turns out that (at least for local development) npm has a long
standing bug where it doesn't recognize changing dependencies stored as
git urls (see https://github.com/isaacs/npm/issues/1727). Luckily npm
understand tarballs and GitHub provides tarballs for every commit, so
the workaround is easy, though unfortunate.
benjamn added a commit that referenced this pull request Jun 19, 2013
Use github tarball link for esprima dependency
@benjamn benjamn merged commit 91b10bd into facebook:master Jun 19, 2013
taneliang referenced this pull request in MLH-Fellowship/react Aug 17, 2020
Summary
---

Implement User Timing marks view as a fixed-height row above our React
events. Also adds a tooltip for them.

Colors [obtained from Firefox Profiler](https://github.com/firefox-devtools/profiler/blob/c4f68f423c7035a094952311addd0af5bec209e7/src/utils/colors.js#L26-L27) to match Firefox's Marker Chart. The colors aren't the best since they kind of upstage the React events.

Resolves #72 iteration 1. This PR does not display User Timing measures
due to the complexities of displaying a stack of User Timing measures. I
also don't know how to identify a measure's start/end marks, so I'm not
able to implement highlighting of related marks. We can create a
separate issue for User Timing measures (#72 iteration 3).

Test Plan
---

* `yarn lint`
* `yarn flow`: no type errors in changed code. Also fixed type errors in
  `EventTooltip`; 24 errors remaining.
* `yarn test`: tests for `preprocessData` updated.
* `yarn start`: tested with Facebook.com profile
taneliang referenced this pull request in MLH-Fellowship/react Aug 19, 2020
Summary
---

Implement User Timing marks view as a fixed-height row above our React
events. Also adds a tooltip for them.

Colors [obtained from Firefox Profiler](https://github.com/firefox-devtools/profiler/blob/c4f68f423c7035a094952311addd0af5bec209e7/src/utils/colors.js#L26-L27) to match Firefox's Marker Chart. The colors aren't the best since they kind of upstage the React events.

Resolves #72 iteration 1. This PR does not display User Timing measures
due to the complexities of displaying a stack of User Timing measures. I
also don't know how to identify a measure's start/end marks, so I'm not
able to implement highlighting of related marks. We can create a
separate issue for User Timing measures (#72 iteration 3).

Test Plan
---

* `yarn lint`
* `yarn flow`: no type errors in changed code. Also fixed type errors in
  `EventTooltip`; 24 errors remaining.
* `yarn test`: tests for `preprocessData` updated.
* `yarn start`: tested with Facebook.com profile
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