mobifyjs icon indicating copy to clipboard operation
mobifyjs copied to clipboard

minified version on website has 'mainUrl' as undefined - should be 'e'

Open johnrobertallan opened this issue 11 years ago • 2 comments

the example on your site seems to be minified incorrectly. mainUrl comes back as undefined.. i changed that to e and it worked. Sorry, no time to check in a fix at the moment.

johnrobertallan avatar Apr 24 '14 18:04 johnrobertallan

I agree. I found this issue as well by using the quickstart on http://www.mobify.com/mobifyjs/v2/docs/ and trying to use my own main.js file.

jlind avatar May 27 '14 21:05 jlind

Thanks for the bug reports! While I will fix this, I would actually recommend moving away from using a main.js file, and instead either use the callback based approach or taking the contents in the main file and combining it with the library file. Reduces the # of requests :)

jansepar avatar May 27 '14 21:05 jansepar