-
-
Notifications
You must be signed in to change notification settings - Fork 29
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
modernize #51
base: master
Are you sure you want to change the base?
modernize #51
Conversation
index.js
Outdated
if (!opts) opts = {} | ||
if (!cb) cb = function () {} | ||
if (!cb) cb = () => {} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A default parameter could be used here instead
function append (file, rootElem, opts, cb = () => {}) {
index.js
Outdated
@@ -170,7 +160,7 @@ function renderMedia (file, getElem, opts, cb) { | |||
} | |||
|
|||
function useVideostream () { | |||
debug('Use `videostream` package for ' + file.name) | |||
debug(`Use 'videostream\` package for ${file.name}`) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you replaced a backtick with a single quote here. To output the same string you'd need
`Use \`videostream\` package...`
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove package-lock.json
I think if we fix the conflicts this could be merged. @jimmywarting? |
webtorrent/webtorrent#1443