This is a migrated thread and some comments may be shown as answers.

kendo.modernizr.custom.js ??

3 Answers 1066 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
David Beck
Top achievements
Rank 1
David Beck asked on 24 Jan 2013, 03:19 PM
Hi,

I noticed the latest KendoUI Update now includes a new JS Line.

I read previously that modernizr isnt needed for Kendo by highly recommended. Can someone at Telerik give us the just of what this custom Modernizr does. Thanks

<script src="@Url.Content("~/Scripts/kendo.modernizr.custom.js")"></script>

3 Answers, 1 is accepted

Sort by
0
Accepted
Dimo
Telerik team
answered on 25 Jan 2013, 11:27 AM
Hi David,

The included Modernizr makes sure that Internet Explorer handles HTML5 elements in the project template correctly. Otherwise you will end up with a broken unstyled layout.

If you will not be using HTML5 elements, you can safely remove Modernizr, as it is not required by Kendo UI itself.

Regards,
Dimo
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
David Beck
Top achievements
Rank 1
answered on 25 Mar 2013, 02:39 PM
Hi Dimo,

Thank you for the reply. If we use the use the full version is this acceptable to remove the Keno Modernizr?

Also if we do a custom Modernizr what options do we need to make sure we have in our customer modernizr to make sure Kendo works correctly
0
Dimo
Telerik team
answered on 25 Mar 2013, 03:06 PM
Hello David,

Yes, surely you can use the full Modernizr instead of our custom one.

When using custom packages, you need to ensure that "html5shiv" (in the "Extra" category) is included.

Regards,
Dimo
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
General Discussions
Asked by
David Beck
Top achievements
Rank 1
Answers by
Dimo
Telerik team
David Beck
Top achievements
Rank 1
Share this question
or