contracts.coffee
contracts.coffee copied to clipboard
Ability to turn of contracts while still having the same code
I would like to have an ability to turn of contracts while still having the same code. This would be particularly useful for debugging, which doesn't work well with contracts.
While i can bypass this by having a second build (which i do) i still don't have line-to-line mapping between those builds.
Thanks.
We actually already have that:
contracts = require 'contracts.js'
contracts.enabled false
I need to add this to the docs.