Skip to content

Commit

Permalink
indicating missing-map event
Browse files Browse the repository at this point in the history
  • Loading branch information
thlorenz committed Jan 16, 2014
1 parent 09543f3 commit db22d6c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,10 @@ EXAMPLE:
<div class="description">
<p>Transforms the incoming stream of code by removing the inlined source map and writing it to an external map file.
Additionally it adds a source map url that points to the extracted map file.</p>
<h4>Events (other than all stream events like <code>error</code>)</h4>
<ul>
<li><code>missing-map</code> emitted if no map was found in the stream (the src still is piped through in this case, but no map file is written)</li>
</ul>
</div>
<h5>Parameters:</h5>
<table class="params">
Expand Down
4 changes: 4 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ var go = module.exports =
/**
* Transforms the incoming stream of code by removing the inlined source map and writing it to an external map file.
* Additionally it adds a source map url that points to the extracted map file.
*
* #### Events (other than all stream events like `error`)
*
* - `missing-map` emitted if no map was found in the stream (the src still is piped through in this case, but no map file is written)
*
* @name exorcist
* @function
Expand Down

0 comments on commit db22d6c

Please sign in to comment.