Hi,
I have been loading kendo.web.min.js along with a culture file using the RequireJS shim method along with the deps option set as follows:
I then noticed in the offical documentation that it is recommended to avoid using the Kendo UI bundles with RequireJS: http://docs.kendoui.com/getting-started/using-kendo-with/using-kendo-with-requirejs.
As I haven't had any particular issues with this approach (yet!) I wondered, if this was still the official recommendation and that I should revert to script tags for Kendo, or whether I can continue using the above method?
Regards,
Dan.
I have been loading kendo.web.min.js along with a culture file using the RequireJS shim method along with the deps option set as follows:
require.config({
paths: {
"jquery"
: [
"jquery-1.10.2.min"
],
"kendo"
: [
"kendo/kendo.web.min"
],
"kendo-cultures-en-gb"
: [
"kendo/cultures/kendo.culture.en-GB.min"
],
"bootstrap"
: [
"bootstrap.min"
]
},
shim: {
'bootstrap'
: {
deps: [
'jquery'
]
},
"kendo"
: {
deps: [
"jquery"
]
},
"kendo-cultures-en-gb"
: {
deps: [
"kendo"
]
}
}
});
As I haven't had any particular issues with this approach (yet!) I wondered, if this was still the official recommendation and that I should revert to script tags for Kendo, or whether I can continue using the above method?
Regards,
Dan.