Problem in Javascript API in Durandal JS

368
2
07-07-2013 09:03 PM
xiangmingfan
New Contributor
I try to develop JS api in Durandal JS, but looks like dojo doesn't like Durandal. in DurandalESRI project, I try to add new durandal function in map query but it doesn't work, any idea?

Thanks,
0 Kudos
2 Replies
ReneRubalcava
Frequent Contributor
DurandalJS has requirejs baked it into, which is why you are having issues.
But the Durandal team is on top of it.
Here is a link on using Durandal with Dojo
http://durandaljs.com/documentation/Dojo/

And suprisingly enough that page links to a github repo on how to use DurandalJS with the Esri API.
https://github.com/dgwalton/DurandalEsri
0 Kudos
xiangmingfan
New Contributor
I solved this problem because several documents for Durandaljs in "DurandalESRI project" was disabled. Anyway, thanks, odoe.
0 Kudos