Tim Smart
ac0db09759
Base64 encode source maps
...
This prevents some edge cases where encodeURIComponent fails to create a valid
source map.
This particular edge case was identified when trying to create source maps for
the lesshat mixin library.
Signed-off-by: Tim Smart <tim.smart@designworks.co.nz >
2014-06-04 11:20:07 +12:00
Luke Page
6dfb00751c
Fix for in without hasOwnProperty
2014-01-10 20:09:36 +00:00
Luke Page
cb9dc7445a
fix typo. fixes #1753
2013-12-21 22:11:30 +00:00
Luke Page
8440773f8a
change to use format consistent with the browser and for sourcemaps to take additional variables into account
2013-12-21 11:14:35 +00:00
Luke Page
381fb98fdf
normalize the base path as well as the filename for sourcemaps. Fixes #1736
2013-12-17 23:06:51 +00:00
Luke Page
ef4c2b75a9
correct the sourcemap url option
2013-11-17 16:38:35 +00:00
Luke Page
355cd7488e
rename the sourcemappingurl to sourcemapurl, add to bin/lessc and adjust to not normalize
2013-11-17 16:26:47 +00:00
Kevin Attfield
855eca1d93
added sourceMappingURL option
2013-11-17 15:57:38 +00:00
Luke Page
62751c917c
support inline css files in the sourcemaps
2013-09-17 19:37:00 +01:00
Luke Page
0de5653ccc
small fixes to help allowing sourcemaps in browser mode
2013-09-16 19:30:16 +01:00
Luke Page
176260a035
allow sourcemaps to be inline, in the css
2013-09-14 19:33:08 +01:00
Anders Johansson
bab31952ff
Normalize path for sourceMappingURL.
2013-09-11 13:48:50 +02:00
Luke Page
1f456ffc18
clean up a TODO and avoid some un-necessary calls
2013-09-08 17:25:03 +01:00
Luke Page
023c3f020a
do not create empty sourcemaps or add mapping comments on to empty files. Also fix empty files from having a newline in them. fixes #1491
2013-09-08 17:12:13 +01:00
Luke Page
969e70a573
sourcemaps: Fix some issues with output, add an inline flag, add a test harness
2013-07-31 22:11:53 +01:00
Luke Page
1563d5c087
sourcemaps: rename rootpath to basepath and add a rootpath option
2013-07-31 21:01:15 +01:00
Luke Page
37c4e1126a
correct some paths
2013-07-26 17:06:04 +01:00
Luke Page
f16e5142cf
test some more advanced sourcemaps and correct a bug in the output column
2013-07-24 13:46:20 +01:00
Luke Page
b2a445c46c
pass more lines and columns to the sourcemap generator. start passing the filenames to the sourcemap generator.
2013-07-20 23:02:28 +01:00
Luke Page
63109417c7
small fixes to sourcemaps
2013-07-19 19:26:24 +01:00
Luke Page
8c3e304966
get the map file outputting and reference file from the end of the css file
2013-07-19 06:54:02 +01:00
Luke Page
536bfa273c
tweaks and start of output
2013-07-18 22:40:59 +01:00
Luke Page
f14f86136c
add tests for sourcemaps and get prototype working
2013-07-18 22:21:59 +01:00
Luke Page
8a4e7b97c6
hack in prototype exporting empty source-map
2013-07-18 13:58:41 +01:00
Luke Page
1ec0563c9a
add sourcemapper class
2013-07-18 13:06:56 +01:00