When I try to call
var
app =
new
kendo.mobile.Application(document.body);
I get error in chrome console and loading div is constantly showing
Uncaught TypeError: Cannot call method 'onShowStart' of undefined
I was check that all files was included in my javascript folder and they were included.
I use trial version so all my files are minified. Do you have any idea what was wrong?
This is my site code:
<!DOCTYPE html>
<
html
>
<
head
>
<
title
></
title
>
<%= stylesheet_link_tag :application, "kendo.mobile.all.min" %>
<%= javascript_include_tag "jquery.min", "kendo.all.min", "kendo.culture.hr-HR.min" %>
</
head
>
<
body
>
<
div
data-role
=
"header"
>Header</
div
>
<
div
data-role
=
"content"
>Hello world!</
div
>
<
div
data-role
=
"footer"
>Footer</
div
>
<
script
type
=
"text/javascript"
>
var app = new kendo.mobile.Application(document.body);
</
script
>
</
body
>
</
html
>
Sorry for my bad english.