Commit Graph

36 Commits

Author SHA1 Message Date
Evan Wallace
2d4588e209 Merge pull request #15 from fresheneesz/master
Documentation on basic custom usage
2013-07-20 16:40:19 -07:00
Evan Wallace
bdf2ffb6a4 Merge pull request #18 from meteor/retrieve-source-map
Allow overriding the mapping from source file to source map.
2013-07-20 15:22:12 -07:00
Evan Wallace
95ad3027a3 Merge pull request #17 from meteor/upgrade-source-map
Update to source-map 0.1.26.
2013-07-20 15:11:09 -07:00
David Glasser
28a91e1337 Update to source-map 0.1.26. 2013-07-17 11:28:32 -07:00
David Glasser
1cf5ce0f7d Allow overriding the mapping from source file to source map.
This is done with the new retrieveSourceMap option to sourcemap.install.

This is useful if you have another way of finding your source maps (and can avoid sync reads).

Also, allow source maps to not have an URL, and don't write to a global named mapSourcePosition.
2013-07-17 11:27:13 -07:00
fresheneesz
ae0959ebb9 Completing basic demo that shows correct line and character numbers 2013-06-28 17:39:23 -07:00
fresheneesz
deb583e188 fixing link 2013-06-28 17:02:04 -07:00
fresheneesz
52040fe4e3 adding a Usage section to make it clearer how to use this support and how to create sourcemaps yourself 2013-06-28 17:01:14 -07:00
Evan Wallace
51db253332 update to new version of source-map library 2013-06-26 23:20:53 -07:00
Evan Wallace
abc1c2e8e0 handle case when line isn't found, fixes #13 2013-06-26 23:20:34 -07:00
Evan Wallace
2c7e1ce87a fixed data-url bugs and added tests, closes #14 2013-06-26 22:51:13 -07:00
Fuji, Goro
77d1b5c05b support data-url format 2013-06-26 21:58:41 -07:00
Evan Wallace
1b4a71bc86 version bump for npm 2013-06-11 07:31:19 -04:00
Evan Wallace
069d43b4ea Merge pull request #11 from michaelficarra/patch-1
support new `//#` sourceMappingURL pragma format
2013-06-10 09:51:22 -07:00
Michael Ficarra
660412ee84 support new //# sourceMappingURL pragma format
For now `//@` is still supported. Support for `//@` can be removed later.
2013-06-09 14:53:20 -05:00
Evan Wallace
d4cc314e57 version bump for npm 2013-05-04 11:10:22 -07:00
Evan Wallace
f2a2464b7c Merge pull request #10 from zeekay/master
Export mapSourcePosition so that it's possible to use externally.
2013-05-04 11:08:45 -07:00
zeekay
3c8fec1c1c Export mapSourcePosition.
Exposing mapSourcePosition makes it possible to easily create custom exception
handlers.
2013-05-02 13:06:44 -07:00
Evan Wallace
3aa561e560 check for eval before getting origin, fixes #9 2013-04-28 14:30:55 -07:00
Evan Wallace
03703165e8 merge relative source path fix, bump version, fixes #4 2013-04-24 19:16:25 -07:00
Evan Wallace
12c838cd3f version bump for npm 2013-04-24 18:36:53 -07:00
Evan Wallace
05e03fe730 stop swallowing exceptions, fixes #8 2013-04-24 18:33:05 -07:00
Evan Wallace
5ab3cdd9e1 change some tests from equality to regex to match slight change in node's stack trace printing 2013-04-24 17:56:13 -07:00
Florian Reiterer
161be66adc Resolve sources relative to the source map
Source Map Revision 3: Resolving Sources
If the sources are not absolute URLs after prepending of the
“sourceRoot”, the sources are resolved relative to the SourceMap (like
resolving script src in a html document).
2013-03-18 23:43:02 +01:00
Evan Wallace
5be2906874 Update README.md 2013-03-08 21:38:29 -08:00
Evan Wallace
123fb717b2 update example now that the CoffeeScript compiler generates source maps 2013-03-08 21:10:26 -08:00
Evan Wallace
18992a7be6 option to not install uncaught exception handler, fix for issue #3 2013-03-05 11:36:36 -08:00
Evan Wallace
9484e8ec05 version bump and description for npm 2013-03-04 17:46:16 -08:00
Evan Wallace
8717f4f66c Merge pull request #2 from bpytlik/master
fix compatibility with coffeescript 1.6 source map files
2013-03-04 17:41:00 -08:00
Brock Pytlik
fe649c7493 support sourceMappingURL being located at the beginning of the file 2013-03-04 15:47:32 -08:00
Evan Wallace
dee77a507c Added note about multiple languages to README.md 2013-02-11 21:25:26 -08:00
Evan Wallace
b8de7c8b92 Add note about --eval to README.md 2013-02-11 19:08:17 -08:00
Evan Wallace
bceff46033 add installation section to readme 2013-01-18 11:04:24 -08:00
Evan Wallace
e55bb593fe remove unnecessary cache check 2013-01-18 01:01:52 -08:00
Evan Wallace
aafee108c4 don't crash when primitive values are thrown 2013-01-18 00:17:51 -08:00
Evan Wallace
c50758519f initial commit 2013-01-17 23:56:20 -08:00