Commit Graph

1437 Commits

Author SHA1 Message Date
Luke Page
8faa5b83d9 Allow replacing visitors to return undefined. Fixes #2252 2014-11-01 17:31:50 +00:00
Luke Page
9ddd81fc07 seperate out bootstrapping less and the browser api 2014-11-01 17:05:21 +00:00
Luke Page
14a4837123 Merge branch 'master' of https://github.com/less/less.js 2014-11-01 14:35:01 +00:00
Luke Page
d48fd51661 change default for useFileCache. Fixes #2261 2014-11-01 14:30:29 +00:00
Luke Page
8a1403b53c Merge pull request #2254 from dexif/master
Fix for import relative path for url with parameters
2014-11-01 12:09:47 +00:00
Luke Page
062afacfe0 Fix browserify to be the one to expose less to window 2014-11-01 12:04:54 +00:00
Evgenij Spitsyn
3b60ee4fa2 Fix for import relative path for url with parameters 2014-10-29 10:08:07 +03:00
Luke Page
da92696435 v2.0.0-b2 2014-10-26 12:17:05 +00:00
Luke Page
6538c52b54 Merge pull request #2246 from less/import-sequence
Attempt to fix import sequencing
2014-10-26 11:56:18 +00:00
Luke Page
0b3acccbd2 load plugins from functions as well as objects 2014-10-26 11:27:09 +00:00
Triangle717
4bd15f4b98 Add rebeccapurple (#663399) 2014-10-24 14:52:47 -04:00
Luke Page
e1c28d6358 use structure to run variable imports last 2014-10-24 13:07:31 +01:00
Luke Page
5202a1fc5f sequencer logic for variable import 2014-10-24 07:29:45 +01:00
Luke Page
5f1f091168 Fix - for some reason the flattening done by the import visitor is required 2014-10-24 07:20:32 +01:00
Luke Page
ebdda84301 Method for how it will work asyncronously (broken) 2014-10-23 22:26:22 +01:00
Luke Page
59a165ba33 Refactor out the processing of the import, ready to be done asyncronously 2014-10-23 22:02:48 +01:00
Luke Page
59310251b6 Tidy context stack into actual stack - no need for an array 2014-10-23 21:50:01 +01:00
Luke Page
5913834cc1 Tidy Import Visitor arguments 2014-10-23 21:46:04 +01:00
Luke Page
c757befb4f flatten import visitor so that variable imports can be processed at the end of a global queue 2014-10-23 21:33:28 +01:00
Luke Page
5f09ee7079 make sure an error is not lost 2014-10-23 18:38:45 +01:00
Luke Page
b4ae1e880f when finding variables, look inside sub import nodes 2014-10-23 18:33:13 +01:00
Luke Page
e793b17751 Sequencer working so imports are always processed in the same order 2014-10-23 18:15:25 +01:00
Luke Page
8c89b268b3 Initial sketch-out (broken) 2014-10-23 13:17:55 +01:00
Moez Bouhlel
815e977b0b add support to read options from less file link tag data attr 2014-10-22 19:20:20 +01:00
Moez Bouhlel
e2b30eb1b3 improve support to read options from script tag data attr - part 2 2014-10-22 18:57:29 +01:00
Moez Bouhlel
0681e59d3d improve support to read options from script tag data attr 2014-10-22 18:00:33 +01:00
Moez Bouhlel
e5b18c08ce add support to read options from script tag data attr 2014-10-22 16:08:38 +01:00
Luke Page
148a0f5908 put the appendage of the .less extension through the file manager so that behaviour can be over-ridden. Fixes #2235 2014-10-21 13:16:40 +01:00
Luke Page
ba3d24a352 Support urls begining // which are unquoted. Fixes #2238 2014-10-21 13:01:01 +01:00
Luke Page
0fa3a9fe9c change version to beta 1 2014-10-19 21:12:05 +01:00
Luke Page
65702f80a3 make sure plugins can be loaded from the current directory if lessc is installed globally 2014-10-19 19:09:23 +01:00
Luke Page
d436b83c06 put the built-in cache on the less object 2014-10-19 18:42:07 +01: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
9d535c0470 Whitespace - undo unusual new() syntax 2014-10-19 16:57:22 +01:00
Luke Page
845ec72131 improve error reporting 2014-10-19 16:48:04 +01:00
Luke Page
114d3e59e8 Tidy up after solving problem when building in linux 2014-10-19 09:47:39 +01:00
Luke Page
545ee85a25 travis CI test 3 2014-10-19 08:44:56 +01:00
Luke Page
7b84a9fe54 another travis ci test 2014-10-19 08:40:14 +01:00
Luke Page
6913f305b5 Test why travis CI is failing 2014-10-19 08:34:49 +01:00
Luke Page
5796cf29e0 upgrade browserify. Use the promise shim instead of the full node version in the browser. 2014-10-18 08:34:54 +01:00
Luke Page
8b42ae3883 A few tweaks to browser loading 2014-10-17 08:12:52 +01:00
Luke Page
659bf74777 Merge pull request #2233 from levithomason/feature/reload-stylesheets
Method to scan for and register stylesheets
2014-10-17 08:02:21 +01:00
Luke Page
3166564cb8 Merge pull request #2226 from levithomason/feature/notify-on-finish
Notify when less.js is done processing
2014-10-17 07:59:37 +01:00
Levi Thomason
0e821f1a4f cleanup callback 2014-10-15 23:03:55 -07:00
Levi Thomason
89358faefe more sane resolve 2014-10-15 23:02:11 -07:00
Levi Thomason
d31be578a3 Fixes #713, #771, #1161 2014-10-15 22:58:15 -07:00
Levi Thomason
999af91bb3 set less.hasFinished to refresh() promise
fix white space

return promise on modifyVars
2014-10-14 00:30:35 -07:00
Levi Thomason
a0b1b2f4bd refresh returns promise
pass the error to reject()
2014-10-12 17:28:03 -07:00
Luke Page
c40069e83e Fix the API files 2014-10-12 16:49:38 +01:00