When using RequireJS to initialize kendo.view.min, IE10 returns error "Object doesn't support property or method 'bind'". The Kendo View does not work in both IE10 and Chrome unless kendo.binder.min is also included.
Expected behavior: Kendo View should just work when kendo.view.min is included in the require line.
The attached .zip contains one index.htm file where the Kendo View does not work until kendo.binder.min is moved inside the require line.
Expected behavior: Kendo View should just work when kendo.view.min is included in the require line.
The attached .zip contains one index.htm file where the Kendo View does not work until kendo.binder.min is moved inside the require line.
<
script
>
require(['jquery', 'kendo.view.min'], function ($) { // add 'kendo.binder.min' and the issue is fixed
var login = new kendo.View("login-template");
login.render("#application");
});
</
script
>
<
div
id
=
"application"
></
div
>
<
script
type
=
"text/x-kendo-template"
id
=
"login-template"
>
<
div
>This is the login template.</
div
>
</
script
>