I'm using AngularAMD, and only want to load the Kendo controls I need only on certain modules that use them.
In my requirejs.config, I have all the paths and shims configured properly for the kendo stuff. In my angular modules, I ngload the correct kendo module(s) I need for that module, and it will download the js/css files at that point.
The problem is, the require stuff in the kendo modules is not playing nice. It does its own requirejs stuff.
For example, kendo.progressbar.js has define(["./kendo.core"])
I already have kendo.core loaded via my angularAMD require config, but progress bar tries to load it itself. The path it is trying to use is wrong because the kendo stuff isnt found in the base path I have set. I do not want kendo to try and load anything via require.
If I remove "./kendo.core" from the kendo progressbar define section, everything works. I dont want to have to modify each kendo file to get this to work. Is there a better way?
In my requirejs.config, I have all the paths and shims configured properly for the kendo stuff. In my angular modules, I ngload the correct kendo module(s) I need for that module, and it will download the js/css files at that point.
The problem is, the require stuff in the kendo modules is not playing nice. It does its own requirejs stuff.
For example, kendo.progressbar.js has define(["./kendo.core"])
I already have kendo.core loaded via my angularAMD require config, but progress bar tries to load it itself. The path it is trying to use is wrong because the kendo stuff isnt found in the base path I have set. I do not want kendo to try and load anything via require.
If I remove "./kendo.core" from the kendo progressbar define section, everything works. I dont want to have to modify each kendo file to get this to work. Is there a better way?