Skip to content

0.8.0: DEBUG mode console output & Ractive.parse #2701

@timoxley

Description

@timoxley

Since 0.8.0, Ractive.parse generates a lot of noisy console output by default.

This is problematic when Ractive.parse is being used in node within a build tool e.g.

rstacruz/ractive-loader#5

Yes, it's a simple fix to turn DEBUG mode off, but I'd suggest that Ractive was a better behaved API in 0.7.3. In the browser, I can agree that DEBUG=true by default is fine, however when Ractive APIs are used in any other environment I'd suggest that having verbose logging on by default is generally considered poor behaviour.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions