-
Notifications
You must be signed in to change notification settings - Fork 338
Batarang produces errors after Angular upgrade to 1.5 #285
Comments
I am also getting the same error after upgrading to version 1.5 Is there any way to overcome these errors? |
Could someone provide a live demo (e.g. using CodePen, Plnkr etc) ? |
I have the same problem, even on a 'hello world' example without ng-controller. |
ditto on the live demo - we can't do much without a repro. |
Check this plnkr, http://plnkr.co/edit/irPNf9sFY5LLRKSwvcsN?p=preview, BUT not in the edit view or the embedded view -> instead "launch the preview in a separate window" (little blue button in the preview window). The app still works, but you get the error from above. |
Was able to repro. Looks like we're making some assumptions about the |
Looks like this here angular/angular.js@1c6edd4 |
Due to a change introduced in AngularJS `v1.5.0` (angular/angular.js@1c6edd4), the `watchAction` callback is called without a context (i.e. `this === undefined`). This caused an error while trying to access `this.$id`. Fixes angular/batarang#285
I have a submitted a fix angular/angular-hint#117. |
I upgraded angular to 1.5 and this caused Batarang to produces errors to console.
Here's an example:
The text was updated successfully, but these errors were encountered: