Commit Graph

171 Commits

Author SHA1 Message Date
Joe Esposito
359f0c140b Merge pull request #73 from raine/patch-1
use syntax highlighting in README
2015-06-05 16:26:48 -04:00
Raine Virta
ea263aeb60 use syntax highlighting in README 2015-06-05 21:37:30 +03:00
Julien Fontanet
21036a2e67 Fix lines on Node (fix #70). 2015-06-02 15:53:30 +02:00
Evan Wallace
d2a81fb29a update version for npm 2015-05-30 10:10:46 -07:00
Evan Wallace
51f86195f5 Merge pull request #67 from pspeter3/master
Adding path cleaning
2015-05-30 10:09:03 -07:00
Phips Peter
a97856ae4a Adding path cleaning
For some reason, some files will have a trailing new line for their
name. This code cleans up the path to no longer have the trailing space.
2015-05-29 00:07:39 -07:00
Evan Wallace
698b939600 update version for npm 2015-05-28 22:01:55 -07:00
Evan Wallace
48d173146c add a note about browserify-test 2015-05-28 21:58:41 -07:00
Evan Wallace
4bef4ec1d7 add testing instructions to the readme 2015-05-28 07:39:27 -07:00
Julien Fontanet
ce68c4af2d Merge pull request #56 from timoxley/response-code
Check for 200 response code.
2015-05-27 10:58:38 +02:00
Julien Fontanet
0c4a89af9d Fix tests on Node 0.12. 2015-05-26 10:41:04 +02:00
Julien Fontanet
00cba1988f Better fix for #36 (thanks @pspeter3). 2015-05-26 10:38:10 +02:00
Julien Fontanet
6f539e6854 Fix failing test due to #41. 2015-05-26 10:37:14 +02:00
Julien Fontanet
577ca52a5b Merge pull request #41 from joeyespo/remove-leading-newline
Remove leading newline in getErrorSource
2015-05-23 20:23:08 +02:00
Joe Esposito
49d64e7753 Remove leading newline from getErrorSource. 2015-05-23 14:21:45 -04:00
Julien Fontanet
d05c4800d0 Travis CI badge [skip ci] 2015-05-22 10:03:59 +02:00
Evan Wallace
54931e4c28 Fix invalid JSON added by @SimenB 2015-05-21 22:38:38 -07:00
Evan Wallace
0626f02a04 Merge pull request #62 from evanw/julien-f-travis-ci
Travis CI
2015-05-21 22:34:00 -07:00
Joe Esposito
bd6961334a Merge pull request #64 from SimenB/license
Use license in package.json
2015-05-19 16:44:59 -04:00
Simen Bekkhus
fad1947818 Use license in package.json 2015-05-19 22:37:43 +02:00
Julien Fontanet
9b28b78969 Merge pull request #63 from joshma/master
Remove extraneous utf-8 argument to retrieveFile
2015-05-18 20:09:31 +02:00
Joshua Ma
677fba8e8e Remove extraneous utf-8 argument to retrieveFile 2015-05-18 11:07:55 -07:00
Martin Probst
e6e77abddd docs: update documentation to reflect using the *last* source map in file. 2015-05-18 17:33:55 +02:00
Martin Probst
b3fd2b9353 fix: find the *last* sourceMappingURL in the source document.
This fixes odd behaviour for source files that contain the literal string
'//# sourceMappingURL=' somewhere in the actual source code.
2015-05-18 17:33:50 +02:00
Julien Fontanet
e354a11700 Travis CI 2015-05-18 16:34:43 +02:00
Joe Esposito
e2dd940d37 Merge pull request #53 from julien-f/register-module
`register` module (fix #52)
2015-05-15 12:33:05 -04:00
Julien Fontanet
40e140afb7 register module (fix #52) 2015-05-15 18:05:29 +02:00
Joe Esposito
67ee8f19ff Merge pull request #59 from evanw/julien-f-npm-script-build
Add `build` npm script
2015-05-15 10:58:11 -04:00
Marco Minetti
d85089bea0 Merge pull request #58 from marcominetti/fix/57
Fixed sourcemap url detection.
2015-05-15 14:32:38 +02:00
Marco Minetti
0020b8c1b4 Fixed sourcemap url detection. 2015-05-15 14:29:08 +02:00
Julien Fontanet
6ba672e8b7 Add build npm script
Abstract the build process behind `npm run build`.

It is a good practice as it makes the transition to another build system easier.
2015-05-15 11:32:24 +02:00
Julien Fontanet
62046eb482 Merge pull request #37 from moonpyk/master
Making use of console.error
2015-05-15 11:24:32 +02:00
Julien Fontanet
23da4e143c Merge pull request #42 from joeyespo/cross-platform-build
Make build.js cross-platform
2015-05-15 11:06:34 +02:00
Julien Fontanet
7650a8e93c Merge pull request #55 from timoxley/script
Remove hard-coded path to test executable.
2015-05-15 10:58:50 +02:00
Julien Fontanet
924a52ec75 Merge pull request #47 from julien-f/patch-1
Fix positioning in Node (fix #36).
2015-05-15 10:56:05 +02:00
Julien Fontanet
6056457014 Explainatory comment. 2015-05-15 10:54:22 +02:00
Tim Oxley
fcac27c283 Check for 200 response code.
Without this check, missing sourcemaps cause the package to continue as
if the 404 message is the sourcemap, leading to crashes when responses
like "Not Found" cannot be parsed as source maps.
2015-05-13 16:43:56 +08:00
Tim Oxley
3be2f01fa5 Remove hard-coded path to test executable.
Such paths are brittle, due to npm deduping, mocha is not guaranteed to
be at this location, it may be higher in the tree.

node_modules/.bin is added to the PATH env var for npm scripts so
"mocha" on its own is both shorter and will more robustly be able to
locate the mocha executable.
2015-05-13 16:32:37 +08:00
Julien Fontanet
07f5f5937b Very basic fix for #36. 2015-04-07 16:56:19 +02:00
Evan Wallace
e1a092fe79 version bump for npm and build 2015-03-12 01:00:16 -07:00
Evan Wallace
25b7c6d80a Merge pull request #44 from ldesplat/XMLHttpRequest
Check XMLHttpRequest is a function for isInBrowser
2015-03-12 00:42:12 -07:00
Lois Desplat
50fe13d63d Check XMLHttpRequest is a function for isInBrowser 2015-02-28 20:31:59 -08:00
Evan Wallace
8d0d726753 update browser-source-map-support.js 2015-02-28 09:56:45 -08:00
Evan Wallace
e559f475b5 add a test for pull request #43 2015-02-28 09:54:29 -08:00
Vlad GURDIGA
af37071383 Handle missing source maps
mapSourcePosition() will try to load the compiled script’s text and
extract its source map. When the source map is found, the module will
cache it, but when the script just doesn’t have any source map at all,
the module doesn’t remember that, and will load the script text again at
every subsequent call.
2015-02-24 17:42:16 +02:00
Joe Esposito
237d5eddd4 Make build.js cross-platform. 2015-02-22 15:14:41 -05:00
Evan Wallace
4ed08eef4d version bump for npm (MIT license metadata) 2015-01-08 00:41:07 -08:00
Evan Wallace
fc511adace Update LICENSE.md 2015-01-07 09:28:52 -08:00
Evan Wallace
97a0b48f29 Merge pull request #38 from ScottWeinstein/master
Explicit license info
2015-01-07 09:28:13 -08:00
Scott Weinstein
013286a117 Specify license type
in package.json for display in NPM registry
2015-01-07 09:28:49 -05:00