0.0.1 • Published 9 years ago
losass-throw v0.0.1
_throw

Using
Sometimes it's not ideal to use the @error directive of Sass, this plugin gives you an alternative called throw. Because it's not possible to create custom directives, it must be used as a function. So instead of this:
@error 'some failure';you should use this:
@return _throw('some failure')If you want to suppress errors and warning, you simply need to enable the debug mode like this:
$__DEBUG: true;If you want to use errors instead of warnings enable the strict mode:
$__STRICT: true;Installation
$ npm install losass-throw --save-dev@import 'losass-throw/scss/throw';API documentation
https://losass.github.io/throw/
Contributing
Docs
$ gulp docsTesting
$ npm test0.0.1
9 years ago