Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug fix: Can not create an instance of BaseArrayClass #1931

Merged
merged 63 commits into from
Aug 29, 2017
Merged

Bug fix: Can not create an instance of BaseArrayClass #1931

merged 63 commits into from
Aug 29, 2017

Conversation

wf9a5m75
Copy link
Contributor

Fix this error.

Test code:

let array: BaseArrayClass = new BaseArrayClass();

Error log

ERROR TypeError: Cannot read property 'bind' of undefined
    at Object.BaseClass (:8100/plugins/cordova-plugin-googlemaps/www/BaseClass.js:9)
    at Object.BaseArrayClass (:8100/plugins/cordova-plugin-googlemaps/www/BaseArrayClass.js:8)
    at new BaseArrayClass (vendor.js:75551)
    at GeocodingPage.webpackJsonp.355.GeocodingPage.ionViewDidLoad (:8100/build/49.js:70)
    at ViewController._lifecycle (vendor.js:17322)
    at ViewController._didLoad (vendor.js:17195)
    at NavControllerBase._didLoad (vendor.js:43897)
    at t.invoke (polyfills.js:3)
    at Object.onInvoke (vendor.js:4508)
    at t.invoke (polyfills.js:3)

masashiGMS and others added 29 commits August 3, 2017 18:09
- This allows BaseClass.on() is able to pass multiple retuned values from the cordova plugin side to the event lister.
Change: inside event names (must use the version 2.0.0-beta3-20170808-1950 or higher)
Update: map.getVisibleRegion()

Add: VisibleRegion class
Sync w/ ionic-team:master
fixes issue mentioned on slack by @wf9a5m75
@ihadeed ihadeed merged commit 957396b into danielsogl:master Aug 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants