Skip to content

Instantly share code, notes, and snippets.

@CatChen
Created August 24, 2018 11:47
Jade debug partial for printing out any compile time data
// Usage:
// != partial('debug', { data: anything })
if environment !== 'production'
script
| console.log(!{JSON.stringify(data)});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment