Releases: CaryLandholt/ng-classify
Releases · CaryLandholt/ng-classify
v4.1.1
Bug Fixes
- dist: add missing dist to npm (f7a34214)
v4.1.0
Features
- commonjs: add commonjs bundle (fe0db907)
v4.0.3
Bug Fixes
- App: prefix new keyword to App() constructor function (d8e1c8a4, closes #27)
Features
- wrappedClasses: add support for wrapped classes (c9a062f0)
v4.0.2
Bug Fixes
- eval: add allowUnsafeEval via loophole (9d7ebd69)
v4.0.1
Bug Fixes
- ambiguous-coffee-script: ensure compilation is unambiguous (a73cedc3, closes #20)
Although ng-classify produces valid CoffeeScript, other dependencies may use an older version of the CoffeeScript compiler that may not.
This isn't a bug fix as much as a friendly tweak.
Before:
angular.module 'app'
.controller 'homeController', [Home]
After:
angular.module('app')
.controller('homeController', [Home])
v4.0.0
Features
- multipleApps:
- add newline between app statements (9b01b5e6)
- add support for multiple apps (1e719d42)
- add support for multiple apps (2f8f6c8f)
class Home extends Controller('my.app.name')
v3.1.0
Features
- moduleChaining: chain multiple module declarations (0e9d4c5e)
Before:
angular.module('app').controller 'homeController', [Home]
angular.module('app').service 'aboutService', [About]
After:
angular.module('app')
.controller 'homeController', [Home]
.service 'aboutService', [About]
v3.0.1
Bug Fixes
- package.json: ensure semver compliance (31166288)
v3.0.0
Bug Fixes
- classDetails: add support for do in the constructor (38b088f9, closes #8)
Breaking Changes
- use return value from constructor
Before:
class MyValue extends Value
@constructor = 'Hello'
After:
class MyValue extends Value
constructor: ->
return 'Hello'
(b9e85814)
- use return value from constructor
Before:
class MyConst extends Constant
@constructor = []
After:
class MyConst extends Constant
constructor: ->
return []
(3620e03b)
- use return value from constructor
Before:
class App extends App
@constructor = []
After:
class App extends App
constructor: ->
return []
(fda5a79b)
v2.0.0
Features
Breaking Changes
Use gulp-template or another similar library instead
(ee70d196)