Skip to content

Implement postProcessor callback feature for less.ls browser environment #1835 - #1842

Merged
lukeapage merged 1 commit into
less:masterfrom
cloudchen:master
Feb 23, 2014
Merged

lukeapage merged 1 commit into
less:masterfrom
cloudchen:master

Conversation

@cloudchen

Copy link
Copy Markdown
Contributor

Add jasmine:postProcessor task and corresponding spec as well

…ent #1835

Add `jasmine:postProcessor` task and corresponding spec as well
@lukeapage

Copy link
Copy Markdown
Member

okay

@lukeapage
lukeapage merged commit 0a79543 into less:master Feb 23, 2014
@stevenvachon

Copy link
Copy Markdown

This is still undocumented on lesscss.org

@stevenvachon

Copy link
Copy Markdown

Would it make sense for this to be usable outside of "development" in production building as well? Particularly for external libraries that use Less.js programmatically, not so much for a Grunt task.

@matthew-dean

Copy link
Copy Markdown
Member

@stevenvachon AFAIK that's the plan for the Less.js 2.0 branch (future versions of Less).

@stevenvachon

Copy link
Copy Markdown

Interesting. Maybe I'll make a PR for 1.x then.

@seven-phases-max

Copy link
Copy Markdown
Member

I wonder if it makes sense to add new feature to 1.x - this is what we're trying to avoid to get v2 earlier. I'd love to see no 1.x anymore (except critical bugfix releases).

@stevenvachon

Copy link
Copy Markdown

Sure, makes sense. How early might we see v2?

@seven-phases-max

Copy link
Copy Markdown
Member

As soon as we have it to have everything we wanted to I guess :). In fact it's already quite stable for development so I see no problem to PR something you need right into the v2 branch. Though for this particular option I honestly have no idea how it would fit there better, so I'd wait for @lukeapage to reply first.

@matthew-dean

Copy link
Copy Markdown
Member

@seven-phases-max Agreed. It makes sense to me to do a feature freeze on 1.x. 2.x has a lot of architecture changes so it's not guaranteed the code would be compatible. We could consider maintaining releases for 1.x and 2.x for a while like jQuery, but just bring new features to 2.x.

@stevenvachon - There's no set timeline, but @lukeapage may be able to give an estimate.

@lukeapage

Copy link
Copy Markdown
Member

@stevenvachon don't worry about a pull request, its next on my list for v2 as part of pulling out cleancss - cleancss will be a post processing plugin

re: 1.x, it hasn't had any new features in a long time, its been in bugfix only mode - therefore I am pretty certain it won't have any major (unknown) bugs in it. Since myself, max and maria are the only people who do stuff in less, we do not have the capacity to keep 1.x going alongside 2.x and besides since the breaking changes in less language are minimal (the breaking changes are mainly in the api and consumers of less) I don't think it makes sense

@lukeapage

Copy link
Copy Markdown
Member

however @stevenvachon if you would like to help, please take a look at the v2 pull request and I'd love some help there, please just tell me what you'd like to do and we can discuss it. There is a list of things to do on the pull-request. I'd like to complete the breaking changes and then v2 is ready - we cannot wait for the dream list as it will be forever, but once the breaking changes are done it would be okay to bump the version and release

@stevenvachon

Copy link
Copy Markdown

@lukeapage I couldn't find a similar v2 pull request. I created #2190 instead.

Edit
Oh, I think you were referring to this #1902

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants