Skip to content

Support require('less').render(str, options) #2

Closed

Description

@tj

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

Activity

  1. tj commented on Mar 23, 2010

    @tj
    Author

    whats async about it if another framework handles the IO ? (didnt look at your implementation yet)

  2. cloudhead commented on Mar 23, 2010

    @cloudhead
    Member

    The async part is file I/O, when evaluating @import directives

  3. tj commented on Mar 23, 2010

    @tj
    Author

    ah i gotcha good call

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions