g-ortuno / eddystone-chrome-apps-demo

Chrome App that advertises a different URL depending on the image
Apache License 2.0
15 stars 4 forks source link

Bad invocation message #3

Open bj32161 opened 8 years ago

bj32161 commented 8 years ago

Hi, I did use Chrome Dev Editor and clone your git with adding "kiosk_enabled": true, "kiosk_only": true on manifest.json file. When I ran it there was error message "Bad invocation" at line#1 on file "img-switcher.js" Any advice? Thank you Panya

g-ortuno commented 8 years ago

After you clone the repo using Chrome Dev Editor you need to right click on the bower_components folder and click "Refactor for CSP". If you don't see a bower_components folder then you need to right click on the project and click "Bower Install". Let me know if that doesn't work for you.

bj32161 commented 8 years ago

Hi, I can solve it by add change last line from "}).();" to "}).call();" Thank you Panya