-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support require('less').render(str, options) #2
Comments
Just added it, but it takes a callback too, as the parsing is async: http://github.com/cloudhead/less.js/commit/05044028cff70173be6b7a8379a03aaed3102208 |
whats async about it if another framework handles the IO ? (didnt look at your implementation yet) |
The async part is file I/O, when evaluating |
ah i gotcha good call |
Closed
This issue was closed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have been trying to get all the SSJS rendering
engines to follow this convention so that they can
work with Express out of the box.
options like "locals", "context" etc do not really
apply here but thats the signature anyways
The text was updated successfully, but these errors were encountered: