Skip to content
This repository has been archived by the owner on Apr 8, 2019. It is now read-only.

Fix event emitter example code in README #52

Merged
merged 1 commit into from
Mar 10, 2018

Conversation

TrevorBurnham
Copy link
Contributor

This PR contains a:

  • bugfix
  • new feature
  • code refactor
  • test update
  • typo fix
  • metadata update
  • documentation fix (none of the categories above seemed to apply…)

serve.on is undefined, so the current example under the "Events" heading errors out. I've copied the approach used in the event unit tests: https://github.com/webpack-contrib/webpack-serve/blob/bb84692969a672eaa18865c98f6f045aa57bf3c5/test/tests/events.js

`serve.on` is undefined, so the current example errors out. I've copied the approach used in the event unit tests: https://github.com/webpack-contrib/webpack-serve/blob/bb84692969a672eaa18865c98f6f045aa57bf3c5/test/tests/events.js
@jsf-clabot
Copy link

jsf-clabot commented Mar 10, 2018

CLA assistant check
All committers have signed the CLA.

@codecov
Copy link

codecov bot commented Mar 10, 2018

Codecov Report

Merging #52 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #52   +/-   ##
=======================================
  Coverage   92.19%   92.19%           
=======================================
  Files           7        7           
  Lines         269      269           
=======================================
  Hits          248      248           
  Misses         21       21

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 a7e5114...fb70c40. Read the comment docs.

@shellscape
Copy link
Contributor

@TrevorBurnham thanks for the PR 🍺 And thanks for pointing out the discrepancy.

Please note for the future that we typically close PRs (and issues) that have removed bits of the template. Heck, even the maintainers fill out the whole thing for their PRs. Please sign that CLA and we'll get this one merged.

@TrevorBurnham
Copy link
Contributor Author

TrevorBurnham commented Mar 10, 2018

Please sign that CLA

Done. 📝

@shellscape shellscape merged commit a436807 into webpack-contrib:master Mar 10, 2018
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants