Matthew Dean
4272871e07
Fixes #3116 - lessc not loading plugins in 3.0
2018-02-14 16:28:25 -08:00
Matthew Dean
4508495adb
Remove legacy upgrade
...
- Add simple grid syntax support
2018-02-09 19:40:39 -08:00
Matthew Dean
49cbe520f6
Migrate JSCS and JSHint to ESLint and fix various ESLint styling errors
2016-12-31 20:03:46 -08:00
Matthew Dean
c82202cfb8
Update inline comments
2016-11-21 13:57:59 -08:00
Matthew Dean
39150d513a
Simplified API on less object
...
e.g. "less.Ruleset()" instead of "new less.tree.Ruleset()"
Auto-casting of string values into nodes for AtRule, Declaration, Selector, Value
e.g. "less.Selector('&.a')" instead of "new tree.Selector(new tree.Element(new tree.Combinator('&'), '.a'))"
2016-07-19 01:30:34 -07:00
Matthew Dean
a3e43acb26
Pass function registry to plugin install()
...
- Create Anonymous nodes from non-null (but non-Node) function return values
- Allow empty Anonymous nodes to collapse on output
2016-07-15 16:05:20 -07:00
Matthew Dean
16c80efa61
Fix directive / rule shims
2016-07-13 01:38:30 -07:00
Matthew Dean
1ecb327a67
Merge branch 'feature/@plugin' into 3.x
...
* feature/@plugin:
All tests passing for @plugin - Inline JavaScript disabled by default - Deprecated "preprocessor" option removed (preprocessor plugins still valid)
Plugin loader set up for lessc, node, and browser
2016-07-12 22:35:16 -07:00
Matthew Dean
270fd097c9
Plugin loader set up for lessc, node, and browser
2016-07-06 13:26:25 -07:00
Matthew Dean
52e9b5e4fe
Rename Directive -> AtRule & Rule -> Declaration
...
- Added tree shim for old node types and plugin visitor shim to upgrade node visitors to new node types
2016-07-01 20:53:01 -07:00
Matthew Dean
777d95f11b
Add plugin cache to plugin manager
...
- Add visitor iterator so that visitors can be added while visiting (such as plugins in nested scope)
2016-07-01 14:44:54 -07:00
Justineo
197619ab2a
fix code style
2015-02-02 17:24:41 +08:00
Justineo
093e2ea42c
Merge branch 'master' of https://github.com/less/less.js
2015-02-02 16:15:40 +08:00
Justineo
d53801eb77
try to implement preprocess plugins
2015-02-02 16:15:33 +08: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
9869b29c3d
Add file manager to plugin system
2014-10-09 17:45:30 +01:00
Luke Page
d3ca207fe8
jsdoc and add file manager
2014-10-09 17:11:47 +01:00
Luke Page
771ab4e430
sort out usage and allow a plugin argument
2014-09-17 21:14:40 +01:00
Luke Page
6ea7a1995e
move out clean css
2014-09-17 15:09:04 +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
e357dae7bc
allow lessc to load plugins. rename visitor directory to visitors to match others. Fix indexes in URL
2014-09-09 21:20:04 +01:00