23 Commits

Author SHA1 Message Date
Luke Page
1494e25ef0 More style cop.. 2015-01-30 18:28:02 +00:00
Luke Page
e967465607 keep promise an optional dependency for now. Fixes #2422 2015-01-30 17:51:14 +00:00
Luke Page
c4c365e613 Fix parse refactor - this passed to the plugin manager must be less 2015-01-03 16:22:25 +00:00
jackwanders
cf54e01743 Expose Less parsing as a top level feature of the less package
Converting a Less stylesheet into an AST is a valuable piece of
functionality, and worthy of being easily accessible to consumers
of less.js.
2014-12-02 11:30:39 -05:00
Luke Page
5173186162 Merge pull request #2312 from ForbesLindesay/fix-double-exception-handling
Fix double handling of exceptions
2014-11-26 17:10:56 +00:00
Forbes Lindesay
7aa942d449 Fix double handling of exceptions 2014-11-26 15:13:15 +00:00
Forbes Lindesay
4d7f2927d4 Pass this from promise based calling
Fixes https://github.com/less/less-plugin-npm-import/issues/4
2014-11-26 15:10:08 +00:00
Luke Page
89c95af070 Fix isSync option, turn browser back to running sychronously and fix many issues that came up 2014-11-22 18:30:36 +00:00
Luke Page
c0f60cccf8 Fix plugin issues 2014-10-09 18:21:31 +01:00
Luke Page
9869b29c3d Add file manager to plugin system 2014-10-09 17:45:30 +01:00
Luke Page
dedf0eee38 rename env to context to avoid confusion with environment 2014-10-05 18:50:34 +01:00
Luke Page
823ab221dd further simplifications to the parse context 2014-09-22 21:24:48 +01:00
Luke Page
a53be80014 make the import manager one instance per render 2014-09-21 16:36:06 +01:00
Luke Page
5dbae36642 Do not require users to construct a source map builder 2014-09-20 00:43:02 +01:00
Luke Page
e172602938 change render and tree to return an object containing css and map and in the future possibly other things 2014-09-20 00:29:05 +01:00
Luke Page
b721c4f44f use a sourcemap builder for sourcemap output, seperated from the other less options 2014-09-18 22:23:15 +01:00
Luke Page
4927bf1665 Add first draft post-processors, fix render function when using callback. remove regex compression (not compatible with sourcemaps) 2014-09-12 14:54:30 +01:00
Luke Page
1a78cd5901 Remove unnecessary text from require statements 2014-09-08 00:57:50 +01:00
Luke Page
9d230623d2 Parser no longer requires environment 2014-09-04 18:42:00 +01:00
Luke Page
a46de448a3 move import manager creation out of parser 2014-09-04 18:35:56 +01:00
Luke Page
4f5a449b0b move creation of env to invoker 2014-09-04 18:24:24 +01:00
Luke Page
20025f10b1 Remove duplication in render function 2014-09-04 15:57:20 +01:00
Luke Page
a0658a4b15 move render to be accessible in all environments and start using it in the browser 2014-09-03 15:07:33 +01:00