seven-phases-max
1950248a87
fix formatting to meet jscs settings
2015-04-01 21:26:14 +04:00
Luke Page
604c911441
style cop 2 - indentation
2015-01-30 20:41:25 +00:00
Luke Page
1494e25ef0
More style cop..
2015-01-30 18:28:02 +00:00
Luke Page
d206167c84
enforce spaces between operators for consistency
2015-01-27 22:24:12 +00:00
Luke Page
7d97027222
refactor sourcemap classes slightly for better usage by clean-css plugin sourcemaps branch
2014-11-23 13:27:42 +00:00
Luke Page
9f82ece8fb
sourcemap filename is optional so put a guard around the path replace
2014-10-19 18:40:12 +01:00
Luke Page
fde35b7c1c
Fix default rootpath. Do not apply to sourcemap filename. Replace windows directory seperators.
2014-10-19 18:21:49 +01:00
Luke Page
dedf0eee38
rename env to context to avoid confusion with environment
2014-10-05 18:50:34 +01:00
Luke Page
fb6c879cc4
remove env from all environment calls except the ones that actually need it
2014-09-21 16:46:44 +01:00
Luke Page
c07531a46f
Fix the sourcemap options to default to the correct directories
2014-09-20 02:59:24 +01:00
Luke Page
d9a6b46234
initial work to allow post process plugins to work with sourcemaps
2014-09-19 14:45:41 +01:00
Luke Page
ca72b4d92f
Clean up dependency injection so environment is injected at the top level
2014-08-26 22:26:27 +01:00
Luke Page
5148db6e3d
move source map output into root directory
2014-08-24 18:50:43 +01:00
Luke Page
953f70c879
Fix browser tests
2014-08-14 18:08:31 +01:00
Luke Page
383027886c
merge from master
2014-06-22 16:05:09 +01:00
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
7dfc0cf9b0
Merge branch 'whitespace' of github.com:XhmikosR/less.js into 2_0_0
...
Conflicts:
lib/less/functions.js
lib/less/index.js
lib/less/tree/anonymous.js
lib/less/tree/media.js
lib/less/tree/mixin.js
2014-03-02 12:36:49 +00:00
XhmikosR
7efbcd31cf
Trim trailing whitespace.
2014-03-02 14:06:26 +02:00
Luke Page
e5b0fb6967
move the visitors to return themselves instead of assuming where they live
2014-03-02 10:19:05 +00:00
Luke Page
e30cccc508
move sourcemap generator to environment
2014-02-26 19:30:37 +00:00
Luke Page
08bd23dc2a
add browserify (not yet working) and refactor tree nodes to not be dependent on their parent (currently breaks browser build)
2014-02-24 21:22:52 +00: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