ngUpgraders / ng-forward

The default solution for those that want to write Angular 2.x style code in Angular 1.x
410 stars 36 forks source link

EventEmitter.next() is still called EventEmitter.emit() in documentation [Easy Fix] #176

Open hunterSThompson opened 7 years ago

hunterSThompson commented 7 years ago

Evidently emit() got changed to next() in one of the later versions... the docs still say emit().

timkindberg commented 7 years ago

I believe both are available

hunterSThompson commented 7 years ago

In version: 0.0.1-alpha.12 (the current version on NPM pointed to by ng-forward's main github page) only next() is present, calling emit() throws an error.