a coworker on different machine has added following method our javascript application:
function setdomainurl(url) { if (!url.trim().endswith("/")) { url += "/"; loginvm.domainurl = url; } globals.setkeyvalue('domainurl', url); $window.localstorage.setitem("domainurl", url); }
when try running application, crashes after first line of method - "typeerror: undefined not function". debugged make sure 'url' string, ("http://www.google.com").
i on os x machine. crash related using different versions of java? pretty large cordova app has run fine until method added. should note see crash when compile android, not ios.
Comments
Post a Comment