Skip to content
This repository was archived by the owner on Nov 30, 2018. It is now read-only.

With angular 1.5.0: Error: this.exp undefined #1729

Closed
attilacsanyi opened this issue Feb 7, 2016 · 16 comments
Closed

With angular 1.5.0: Error: this.exp undefined #1729

attilacsanyi opened this issue Feb 7, 2016 · 16 comments

Comments

@attilacsanyi
Copy link

After upgrading to angular 1.5.0 I got the following error:

this is undefined Map</Map.prototype.link/</</</<@http://localhost:3000/bower_components/angular-google-maps/dist/angular-google-maps.js:6874:19

I just use the simplest angular google maps directive:
<ui-gmap-google-map center="map" zoom="14"></ui-gmap-google-map>

Thanks

@nmccready
Copy link
Contributor

What version ? master or tagged release?

@nmccready
Copy link
Contributor

https://github.com/angular-ui/angular-google-maps/blob/2.3.1/dist/angular-google-maps.js#L6874

If this is the real spot then yes this is a broken / removed part of angular that will need to be fixed.

@nmccready
Copy link
Contributor

this.exp was a field passed into a watch function letting you know the field of the actual changed values. This was useful if you were using multiple handlers for many watches.

@mikhail-eremin
Copy link

Got same error, this is undefined after upgrading to angular 1.5.0 stable (angular-google-maps 2.3.1)
works with angular 1.5.0-rc.2

@attilacsanyi
Copy link
Author

Thanks @nmccready I use the latest 1.5.0 angular an 2.3.1 angular-ggogle-maps as @mikhail-eremin. Thanks pointing to this.

@hatemzidi
Copy link

same problem here about 'exp' with angular 1.5.0 :/

@nmccready
Copy link
Contributor

Please no more +1 or same heres we know it is a problem. If you want to voice opinions; voice resolutions or a PR. TY

@nmccready
Copy link
Contributor

#1728

@nmccready nmccready changed the title With angular 1.5.0: Error: this is undefined With angular 1.5.0: Error: this.exp undefined Feb 10, 2016
@nmccready
Copy link
Contributor

This is where it broke angular/angular.js#13909

@nmccready
Copy link
Contributor

nmccready added a commit to nmccready/angular-google-maps that referenced this issue Feb 10, 2016
@nmccready
Copy link
Contributor

Anyone else having issues with ngMock / angular-mocks.js ? Since 1.5 non of the modules of this project can be found.

@nmccready
Copy link
Contributor

So specs are borking due to PhantomJS and karma with angular 1.5. I changed the karma config to Chrome and bam specs started working.

@nmccready
Copy link
Contributor

angular/angular.js#13794

@nmccready
Copy link
Contributor

#1734

@mikhail-eremin
Copy link

thanks!

@hatemzidi
Copy link

+1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants