mobifyjs
mobifyjs copied to clipboard
minified version on website has 'mainUrl' as undefined - should be 'e'
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.
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.
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 :)