Hello Support:
I'm trying to reference DataSource through RequireJS under Durandal, and I'm having issues. As you may know (since Kendo UI is promoted as being compatible with Durandal on the Durandal website), Durandal uses AMD and accesses modules relative to a baseURL specified on a data-main attribute.
I know now that Kendo UI supports RequireJS, so that simply referencing "kendo.grid.min", for example, in a list of RequireJS dependencies injects the kendo.grid.
Two questions:
I'm trying to reference DataSource through RequireJS under Durandal, and I'm having issues. As you may know (since Kendo UI is promoted as being compatible with Durandal on the Durandal website), Durandal uses AMD and accesses modules relative to a baseURL specified on a data-main attribute.
I know now that Kendo UI supports RequireJS, so that simply referencing "kendo.grid.min", for example, in a list of RequireJS dependencies injects the kendo.grid.
Two questions:
- How do I reference DataSource? I assumed the pattern would be kendo.datasource.min, but it isn't;
- Is there a way to get to DataSource on the CDN? I would prefer to shim to the CDN than adjust the baseURL to point to the root.
With respect to #2 above, the default baseURL for Durandal is ~/App/. I don't want to go to ~/.
Ultimately, my goal is simply to inject a DataSource using RequireJS under Durandal.
Thank you.
Eric
Ultimately, my goal is simply to inject a DataSource using RequireJS under Durandal.
Thank you.
Eric