ng-classifyfy
Version:
an ng-classify browserify transform with error handling
28 lines (21 loc) • 644 B
Markdown
an ng-classify browerify transform with coffeescript error handing, written in coffeescript.
```coffee
ngclassifyfy = require('ng-classifyfy')
ngClassifyOptions =
appName: 'catmanApp'
b = browserify()
b.transform(ngclassifyfy(ngClassifyOptions))
```
coffeeescript error reporting is already baked into the transform, but you can modify it:
```coffee
ngclassifyfy = require('ng-classifyfy')
ngclassifyfy.errorHandler = (file, err) ->
console.log('this handler is not as good as the one that comes with this transform!', err)
```
```bash
npm install ng-classifyfy --save-dev
```