AnsweredAssumed Answered

Suggestions for debugging a dojo parse error?

Question asked by evtguy on Sep 26, 2013
Latest reply on Jul 31, 2015 by csergent08
I'm revisiting an application I started putting together using the 2.8 API. I'm not quite ready for AMD dojo so I was updating the API version to 3.4 but now I get a dojo parse error pretty much as the page loads. The error points to the API but I realize that's not the true source of the issue. While reading some of the documentation about dojo.parser, I got the impression that it's focused on the HTML side of your development and not necessarily the javascript code that you write. Is this correct?

I don't have a ton of dojo items (borderContainer, ContentPane, BasemapMenu, DataGrid) so it shouldn't be this hard to figure it out but I'm having a **** of a time doing so.

Should I be focusing my attention on the HTML markup or my javascript code? I've tried setting a breakpoint on the first line of code in my init() function but the parse error already fires before the code execution hits the breakpoint.