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

replace commonjs with imports#3131

Merged
jasonLaster merged 1 commit into
firefox-devtools:masterfrom
jasonLaster:replace-commonjs3
Jun 8, 2017
Merged

replace commonjs with imports#3131
jasonLaster merged 1 commit into
firefox-devtools:masterfrom
jasonLaster:replace-commonjs3

Conversation

@jasonLaster

Copy link
Copy Markdown
Contributor

Associated Issue: #1884

@codecov

codecov Bot commented Jun 8, 2017

Copy link
Copy Markdown

Codecov Report

Merging #3131 into master will decrease coverage by 0.21%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3131      +/-   ##
==========================================
- Coverage   47.53%   47.31%   -0.22%     
==========================================
  Files          95       95              
  Lines        4012     3992      -20     
  Branches      825      823       -2     
==========================================
- Hits         1907     1889      -18     
+ Misses       2105     2103       -2
Impacted Files Coverage Δ
src/test/tests-setup.js 100% <ø> (ø) ⬆️
src/client/firefox.js 86.66% <ø> (-1.57%) ⬇️
src/utils/scopes.js 83.33% <ø> (-0.31%) ⬇️
src/test/tests-framework.js 100% <ø> (ø) ⬆️
src/test/fixtures/index.js 100% <ø> (ø) ⬆️
src/utils/prefs.js 92.3% <100%> (ø) ⬆️
assets/images/Svg.js 84.61% <0%> (ø) ⬆️
src/utils/frame.js 85.57% <0%> (+0.75%) ⬆️

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 fe3a49c...8d645ff. Read the comment docs.

@codehag codehag left a comment

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.

looks great! can't wait for this new consistency. One minor nit

Comment thread src/utils/prefs.js Outdated
var { PrefsHelper } = require("devtools-modules");
const { Services: { pref } } = require("devtools-modules");
const { isDevelopment } = require("devtools-config");
import { Services, PrefsHelper } from "devtools-modules";

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.

we can do { Servioces: { pref }, PrefsHelper } here i think

@jasonLaster jasonLaster merged commit da1b741 into firefox-devtools:master Jun 8, 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