When I load the page I can't show errors but when I use the inspector in Google Chrome I have this error:
Uncaught SyntaxError: Unexpected end of input
File: :65200/js/metro.min.js:1
And the first line of metro.min.js is all of this:
var METRO_AUTO_REINIT, METRO_LOCALE, METRO_WEEK_START, METRO_DIALOG = !1;
(function (c) {
c.Metro = function (a) {
c.extend({}, a)
};
c.Metro.getDeviceSize = function () {
return {
width: 0 < window.innerWidth ? window.innerWidth : screen.width,
height: 0 < window.innerHeight ? window.innerHeight : screen.height
}
}
})(jQuery);
$(function () {
$("html").on("click", function (c) {
$(".dropdown-menu").each(function (a, b) {
$(b).hasClass("keep-open") || "block" != $(b).css("display") || $(b).hide()
})
})
});
The .cshtml file have this:
<link href="~/css/metro-bootstrap.css" rel="stylesheet" type="text/css" />
<link href="~/css/metro-bootstrap-responsive.css" rel="stylesheet" type="text/css" />
<link href="~/css/iconFont.min.css" rel="stylesheet" type="text/css" />
<link href="~/css/custom.css" rel="stylesheet" type="text/css" />
And:
<script src="~/Scripts/jquery-2.1.0.min.js"></script>
<script src="~/Scripts/jquery-2.1.0.js"></script>
<script src="~/Scripts/jquery-ui-1.10.4.js"></script>
<script src="~/Scripts/jquery-ui-1.10.4.min.js"></script>
<script src="~/Scripts/modernizr-2.7.2.js"></script>
<script src="~/js/metro.min.js"></script>
Why can this be happening?
I'm using this bootstrap css: http://metroui.org.ua/
And I installed from here with Package Manager Console: