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

ReferenceError: J50Npi is not defined #5

Open
zetekla opened this issue Aug 21, 2017 · 1 comment
Open

ReferenceError: J50Npi is not defined #5

zetekla opened this issue Aug 21, 2017 · 1 comment

Comments

@zetekla
Copy link

zetekla commented Aug 21, 2017

ReferenceError: J50Npi is not defined

J50Npi.getJSON(url, paramObject, function(data){
  console.warn('showSnPData', data);
  deferred.resolve(data);
});

URL: ...sp_x_9=amenityIds_f&sp_q_9=&callback=J50Npi.success:1

@robertodecurnex
Copy link
Owner

robertodecurnex commented Aug 24, 2017

Hi @zetekla, you need to download the code into your web app public folder and include the JS on your HTML <head>.

You can try it out by using github's raw url instead. But you should not use that one on prod.

<script type="text/javascript" src="https://raw.githubusercontent.com/robertodecurnex/J50Npi/master/J50Npi.min.js"></script>

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

No branches or pull requests

2 participants