Skip to content
This repository was archived by the owner on Jan 11, 2023. It is now read-only.

(WIP) Replace sourcetext w/ source#3190

Merged
jasonLaster merged 2 commits into
firefox-devtools:masterfrom
jasonLaster:fsourceText
Jun 21, 2017
Merged

(WIP) Replace sourcetext w/ source#3190
jasonLaster merged 2 commits into
firefox-devtools:masterfrom
jasonLaster:fsourceText

Conversation

@jasonLaster
Copy link
Copy Markdown
Contributor

Associated Issue: #3078

Summary of Changes

  • cleans up actions/ast
  • a couple more places to cleanup

@codecov
Copy link
Copy Markdown

codecov Bot commented Jun 19, 2017

Codecov Report

Merging #3190 into master will decrease coverage by 0.2%.
The diff coverage is 56.81%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3190      +/-   ##
==========================================
- Coverage   47.82%   47.62%   -0.21%     
==========================================
  Files          98       98              
  Lines        4065     4059       -6     
  Branches      839      837       -2     
==========================================
- Hits         1944     1933      -11     
- Misses       2121     2126       +5
Impacted Files Coverage Δ
src/selectors.js 100% <ø> (ø) ⬆️
src/utils/editor/index.js 13.63% <0%> (+0.3%) ⬆️
src/utils/pretty-print/index.js 50% <0%> (+4.54%) ⬆️
src/actions/ast.js 72.09% <100%> (+0.66%) ⬆️
src/reducers/sources.js 75.52% <100%> (-2.86%) ⬇️
src/components/Editor/index.js 17.89% <43.75%> (-1.37%) ⬇️
src/actions/sources.js 51.28% <75%> (+0.65%) ⬆️
src/utils/source.js 51.06% <85.71%> (+1.06%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4448bbd...3d462d3. Read the comment docs.

Copy link
Copy Markdown
Contributor

@codehag codehag left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! is there much more to do on this one?

Copy link
Copy Markdown
Contributor

@codehag codehag left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, two questions only

*/
declare type Source = {
id: SourceId,
url?: string,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is it possible that a source will not have a url? for example, a javascript:<name> script tag?

declare type Source = {
id: SourceId,
url?: string,
sourceMapURL?: string,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will an original source have a sourceMapUrl?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jasonLaster jasonLaster merged commit 348bf6b into firefox-devtools:master Jun 21, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants