Remove usage of X-UA-Compatible

This commit is contained in:
Alex Dima 2020-02-13 17:07:01 +01:00
parent 53909ad4e9
commit daabff0021
No known key found for this signature in database
GPG key ID: 6E58D7B045760DA0
50 changed files with 23 additions and 72 deletions

View file

@ -42,7 +42,7 @@ define([], function() { return[
},
{
"name": "run-editor-sample-html.txt",
"content": "<!DOCTYPE HTML>\r\n<!-- \r\n\tComments are overrated\r\n-->\r\n<html>\r\n<head>\r\n\t<title>HTML Sample</title>\r\n\t<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\r\n\t<style type=\"text/css\">\r\n\t\th1 {\r\n\t\t\tcolor: #CCA3A3;\r\n\t\t}\r\n\t\tbody {\r\n\t\t}\r\n\t</style>\r\n\t<script type=\"text/javascript\">\r\n\t\twindow.alert(\"I am a sample...\");\r\n\t</script>\r\n</head>\r\n<body>\r\n\t<h1>Heading No.1</h1>\r\n\t<input disabled type=\"button\" value=\"Click me\" />\r\n</body>\r\n</html>"
"content": "<!DOCTYPE HTML>\r\n<!--\r\n\tComments are overrated\r\n-->\r\n<html>\r\n<head>\r\n\t<title>HTML Sample</title>\r\n\t<style type=\"text/css\">\r\n\t\th1 {\r\n\t\t\tcolor: #CCA3A3;\r\n\t\t}\r\n\t\tbody {\r\n\t\t}\r\n\t</style>\r\n\t<script type=\"text/javascript\">\r\n\t\twindow.alert(\"I am a sample...\");\r\n\t</script>\r\n</head>\r\n<body>\r\n\t<h1>Heading No.1</h1>\r\n\t<input disabled type=\"button\" value=\"Click me\" />\r\n</body>\r\n</html>\r\n"
},
{
"name": "run-editor-sample-js.txt",
@ -102,7 +102,7 @@ define([], function() { return[
},
{
"name": "sample.html.txt",
"content": "<!DOCTYPE HTML>\r\n<!--Example of comments in HTML-->\r\n<html>\r\n<head>\r\n\t<!--This is the head section-->\r\n\t<title>HTML Sample</title>\r\n\t<meta charset=\"utf-8\">\r\n\t<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\r\n\r\n\t<!--This is the style tag to set style on elements-->\r\n\t<style type=\"text/css\">\r\n\t\th1\r\n\t\t{\r\n\t\t\tfont-family: Tahoma;\r\n\t\t\tfont-size: 40px;\r\n\t\t\tfont-weight: normal;\r\n\t\t\tmargin: 50px;\r\n\t\t\tcolor: #a0a0a0;\r\n\t\t}\r\n\r\n\t\th2\r\n\t\t{\r\n\t\t\tfont-family: Tahoma;\r\n\t\t\tfont-size: 30px;\r\n\t\t\tfont-weight: normal;\r\n\t\t\tmargin: 50px;\r\n\t\t\tcolor: #fff;\r\n\t\t}\r\n\r\n\t\tp\r\n\t\t{\r\n\t\t\tfont-family: Tahoma;\r\n\t\t\tfont-size: 17px;\r\n\t\t\tfont-weight: normal;\r\n\t\t\tmargin: 0px 200px;\r\n\t\t\tcolor: #fff;\r\n\t\t}\r\n\r\n\t\tdiv.Center\r\n\t\t{\r\n\t\t\ttext-align: center;\r\n\t\t}\r\n\r\n\t\tdiv.Blue\r\n\t\t{\r\n\t\t\tpadding: 50px;\r\n\t\t\tbackground-color: #7bd2ff;\r\n\t\t}\r\n\r\n\t\tbutton.Gray\r\n\t\t{\r\n\t\t\tfont-family: Tahoma;\r\n\t\t\tfont-size: 17px;\r\n\t\t\tfont-weight: normal;\r\n\t\t\tmargin-top: 100px;\r\n\t\t\tpadding: 10px 50px;\r\n\t\t\tbackground-color: #727272;\r\n\t\t\tcolor: #fff;\r\n\t\t\toutline: 0;\r\n \t\t\tborder: none;\r\n \t\t\tcursor: pointer;\r\n\t\t}\r\n\r\n\t\tbutton.Gray:hover\r\n\t\t{\r\n\t\t\tbackground-color: #898888;\r\n\t\t}\r\n\r\n\t\tbutton.Gray:active\r\n\t\t{\r\n\t\t\tbackground-color: #636161;\r\n\t\t}\r\n\r\n\t</style>\r\n\r\n\t<!--This is the script tag-->\r\n\t<script type=\"text/javascript\">\r\n\t\tfunction ButtonClick(){\r\n\t\t\t// Example of comments in JavaScript\r\n\t\t\twindow.alert(\"I'm an alert sample!\");\r\n\t\t}\r\n\t</script>\r\n</head>\r\n<body>\r\n\t<!--This is the body section-->\r\n\t<div class=\"Center\">\r\n\t\t<h1>NAME OF SITE</h1>\r\n\t</div>\r\n\t<div class=\"Center Blue\">\r\n\t\t\t<h2>I'm h2 Header! Edit me in &lt;h2&gt;</h2>\r\n\t\t\t<p>\r\n\t\t\t\tI'm a paragraph! Edit me in &lt;p&gt; \r\n\t\t\t\tto add your own content and make changes to the style and font. \r\n\t\t\t\tIt's easy! Just change the text between &lt;p&gt; ... &lt;/p&gt; and change the style in &lt;style&gt;. \r\n\t\t\t\tYou can make it as long as you wish. The browser will automatically wrap the lines to accommodate the \r\n\t\t\t\tsize of the browser window.\r\n\t\t\t</p>\r\n\t\t\t<button class=\"Gray\" onclick=\"ButtonClick()\">Click Me!</button>\r\n\t</div>\r\n</body>\r\n</html>\r\n"
"content": "<!DOCTYPE HTML>\r\n<!--Example of comments in HTML-->\r\n<html>\r\n<head>\r\n\t<!--This is the head section-->\r\n\t<title>HTML Sample</title>\r\n\t<meta charset=\"utf-8\">\r\n\r\n\t<!--This is the style tag to set style on elements-->\r\n\t<style type=\"text/css\">\r\n\t\th1\r\n\t\t{\r\n\t\t\tfont-family: Tahoma;\r\n\t\t\tfont-size: 40px;\r\n\t\t\tfont-weight: normal;\r\n\t\t\tmargin: 50px;\r\n\t\t\tcolor: #a0a0a0;\r\n\t\t}\r\n\r\n\t\th2\r\n\t\t{\r\n\t\t\tfont-family: Tahoma;\r\n\t\t\tfont-size: 30px;\r\n\t\t\tfont-weight: normal;\r\n\t\t\tmargin: 50px;\r\n\t\t\tcolor: #fff;\r\n\t\t}\r\n\r\n\t\tp\r\n\t\t{\r\n\t\t\tfont-family: Tahoma;\r\n\t\t\tfont-size: 17px;\r\n\t\t\tfont-weight: normal;\r\n\t\t\tmargin: 0px 200px;\r\n\t\t\tcolor: #fff;\r\n\t\t}\r\n\r\n\t\tdiv.Center\r\n\t\t{\r\n\t\t\ttext-align: center;\r\n\t\t}\r\n\r\n\t\tdiv.Blue\r\n\t\t{\r\n\t\t\tpadding: 50px;\r\n\t\t\tbackground-color: #7bd2ff;\r\n\t\t}\r\n\r\n\t\tbutton.Gray\r\n\t\t{\r\n\t\t\tfont-family: Tahoma;\r\n\t\t\tfont-size: 17px;\r\n\t\t\tfont-weight: normal;\r\n\t\t\tmargin-top: 100px;\r\n\t\t\tpadding: 10px 50px;\r\n\t\t\tbackground-color: #727272;\r\n\t\t\tcolor: #fff;\r\n\t\t\toutline: 0;\r\n \t\t\tborder: none;\r\n \t\t\tcursor: pointer;\r\n\t\t}\r\n\r\n\t\tbutton.Gray:hover\r\n\t\t{\r\n\t\t\tbackground-color: #898888;\r\n\t\t}\r\n\r\n\t\tbutton.Gray:active\r\n\t\t{\r\n\t\t\tbackground-color: #636161;\r\n\t\t}\r\n\r\n\t</style>\r\n\r\n\t<!--This is the script tag-->\r\n\t<script type=\"text/javascript\">\r\n\t\tfunction ButtonClick(){\r\n\t\t\t// Example of comments in JavaScript\r\n\t\t\twindow.alert(\"I'm an alert sample!\");\r\n\t\t}\r\n\t</script>\r\n</head>\r\n<body>\r\n\t<!--This is the body section-->\r\n\t<div class=\"Center\">\r\n\t\t<h1>NAME OF SITE</h1>\r\n\t</div>\r\n\t<div class=\"Center Blue\">\r\n\t\t\t<h2>I'm h2 Header! Edit me in &lt;h2&gt;</h2>\r\n\t\t\t<p>\r\n\t\t\t\tI'm a paragraph! Edit me in &lt;p&gt;\r\n\t\t\t\tto add your own content and make changes to the style and font.\r\n\t\t\t\tIt's easy! Just change the text between &lt;p&gt; ... &lt;/p&gt; and change the style in &lt;style&gt;.\r\n\t\t\t\tYou can make it as long as you wish. The browser will automatically wrap the lines to accommodate the\r\n\t\t\t\tsize of the browser window.\r\n\t\t\t</p>\r\n\t\t\t<button class=\"Gray\" onclick=\"ButtonClick()\">Click Me!</button>\r\n\t</div>\r\n</body>\r\n</html>\r\n"
},
{
"name": "sample.ini.txt",