/**
* This is a multi-line comment.
* So the error shouldn't throw until a later line.
* Om nom nom.
*/
throw new Error('Hello world!');
{"version":3,"file":"basic.min.js","sources":["basic.js"],"names":[],"mappings":"AAIG,AAAH;CACC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC"}
throw new Error('Hello world!');
//@ sourceMappingURL=basic.js.map
<!doctype html>
<html>
<head>
<title>Basic sourcemap demo!</title>
<script src="basic.min.js"></script>
</head>
<body>
<h1>Basic sourcemap demo!</h1>
<p>
If you have source maps enabled, you should see an error on <a href="https://github.com/twolfson/node-jsmin-sourcemap/blob/master/demo/basic/basic.js#L6">line 6 of basic.js</a>.
<br/>
You may need to <a href="javascript:location.reload();">refresh the page</a> once to make it work.
<br/>
The sourcemaps hosted here are brought to you by <a href="https://github.com/twolfson/node-jsmin-sourcemap">node-jsmin-sourcemap</a>.
</p>
<h2>Want more info on source maps/not sure if you have them enabled?</h2>
<p>
<a href="http://www.html5rocks.com/">HTML5 Rocks</a> has a great article on it.
<br/>
<a href="http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/">http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/</a>
</p>
<h2>Want to play with this demo's source?</h2>
<p>
This demo can be forked and edited on <a href="http://plnkr.co">Plunker</a>.
<br/>
<a href="http://plnkr.co/edit/mGHUpe">http://plnkr.co/edit/mGHUpe</a>
</p>
</body>
</html>