1.0.2 • Published 9 years ago

ng-classifyfy v1.0.2

Weekly downloads
3
License
MIT
Repository
github
Last release
9 years ago

ng-classifyfy

an ng-classify browerify transform with coffeescript error handing, written in coffeescript.

Usage

ngclassifyfy = require('ng-classifyfy')

ngClassifyOptions =
    appName: 'catmanApp'

b = browserify()
b.transform(ngclassifyfy(ngClassifyOptions))

error handling

coffeeescript error reporting is already baked into the transform, but you can modify it:

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)

install

npm install ng-classifyfy --save-dev