Hi,
In our application we are loading JavaScript files using requirejs. So the javascript file will be retrieved whenever it is required for that particular module using requirejs. the issue is when we are loading the following two files through requirejs, we are getting the Ko undefined error. We have already loaded the knockout and knockout mapping files while application starts.Please clarify
infragistics.datasource.knockoutjs
infragistics.ui.grid.knockout-extensions
Hi Gurusamy,
I am not so aware of the options in the requirejs, so what I suggest is to try adding these scripts manually with the right order ->
knockout
knockout mapping
So if it works in that way - we'll know it's a configuration issue, which should be easy fixed in the requirejs.
Thanks,
Yes i have already loaded those two files using requirejs.
Hi Gurusamy shanmugaiah,
Check if the knouckut and knockout mappig files are loaded before you are trying to load both infragistigs' scripts, because they depend on the ko.