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

Exception Uncaught Can't access data until binding complete on method call when element list is empty #346

Open
techfg opened this issue Jan 23, 2021 · 0 comments
Labels
Milestone

Comments

@techfg
Copy link
Collaborator

techfg commented Jan 23, 2021

Describe the bug
When some APIs are invoked with an empty element list, an exception Uncaught Can't access data until binding complete is encountered.

To Reproduce
Steps to reproduce the behavior:

  1. Open tooltips example
  2. Execute any of the following:
$('fakeimg').mapster('get', 'bar');
$('fakeimg').mapster('keys', 'bar');
  1. Exception Uncaught Can't access data until binding complete

Expected behavior
Operation should return a more meaningful message in this case since mapster has not been initialized on the image. If mapster is in the process of initializing, the error is accurate.

Screenshots
N/A

Desktop (please complete the following information):
N/A

Smartphone (please complete the following information):
N/A

Additional context
N/A

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

No branches or pull requests

1 participant