Created
July 24, 2014 22:43
-
-
Save siddharth-pandey/f7fb3e629a7d1a24d494 to your computer and use it in GitHub Desktop.
html in response from server.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]--> | |
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]--> | |
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]--> | |
<!--[if gt IE 8]><!--> | |
<html class="no-js"> | |
<!--<![endif]--> | |
<head> | |
<meta charset="utf-8" /> | |
<meta name="viewport" content="width=device-width"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
<title>Index</title> | |
<base href="http://localhost:1066" /> | |
<script src="/Scripts/Vendor/require.js"></script> | |
<script src="/bundles/modernizr?v="></script> | |
<link href="/Content/css?v=RQLkwRD8wB3bfzLvCNZo6TruCDjuZUaR6dyKc2VouTY1" rel="stylesheet"/> | |
<script src="/Scripts/Vendor/respond.js"></script> | |
<script type="text/javascript"> | |
window.baseUrl = "/"; | |
console.log(require); | |
</script> | |
<script data src="/Scripts/main.js"></script> | |
</head> | |
<body> | |
<div class="container"> | |
<div id="shell" data-view-type="shell"> | |
<script> | |
require(["common"], function () { | |
require(["router"], function (route) { | |
route.init(); | |
}); | |
}); | |
</script> | |
</div> | |
<div data-view-type="generic-spinner"> | |
<img src="/Content/App/Images/Shell/shell_generic_rotating_spinner.gif" alt="Loading..." /> | |
</div> | |
</div> | |
<script type="text/javascript"> | |
// This handler is used to log client-side errors on server. | |
window.onerror = function (errorText, url, lineNumber) { | |
var msg = "errorText=" + errorText + "&url=" + url + "&lineNumber=" + lineNumber; | |
var xhr = new XMLHttpRequest(); | |
xhr.open("POST", '/Error/PostClientSideError', true); | |
xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); | |
xhr.send(msg); | |
}; | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment