I'm having issues trying to get require up and running with Kendo mobile. My setup looks like so
in my default.html
in my main.js
have tried different ways to load these scripts and I still keep getting Uncaught TypeError: Cannot read property 'mobile' of undefined
Edit: One thing I find odd is that I can go to the console on Chrome and drill down to kendo.mobile.Application just fine, as you can see in the page.png file I uploaded.
in my default.html
<
script
type
=
"text/javascript"
data-main
=
"Scripts/main.js"
src
=
"Scripts/libs/require.js"
></
script
>
in my main.js
(function(){
requirejs.config(
{
baseUrl: 'Scripts/libs',
paths: {
plugins: '../app'
}
}
);
// Start main app logic
requirejs(['jquery-1.9.0.min', 'kendo.mobile.min'],
function($,kendo){
var app = new kendo.mobile.Application(document.body,
{
platform: 'ios'
});
});
})();
have tried different ways to load these scripts and I still keep getting Uncaught TypeError: Cannot read property 'mobile' of undefined
Edit: One thing I find odd is that I can go to the console on Chrome and drill down to kendo.mobile.Application just fine, as you can see in the page.png file I uploaded.