1111< script src ="../mode/css/css.js "> </ script >
1212< script src ="//ajax.aspnetcdn.com/ajax/jshint/r07/jshint.js "> </ script >
1313< script src ="https://rawgithub.com/zaach/jsonlint/79b553fb65c192add9066da64043458981b3972b/lib/jsonlint.js "> </ script >
14- < script src ="http://csslint.net/js/csslint.js "> </ script >
1514< script src ="../addon/lint/lint.js "> </ script >
1615< script src ="../addon/lint/javascript-lint.js "> </ script >
1716< script src ="../addon/lint/json-lint.js "> </ script >
18- < script src ="../addon/lint/css-lint.js "> </ script >
1917< style type ="text/css ">
2018 .CodeMirror {border : 1px solid black;}
2119 </ style >
@@ -85,66 +83,6 @@ <h2>Linter Demo</h2>
8583]
8684</ textarea > </ p >
8785
88- < p > < textarea id ="code-css "> @charset "UTF-8";
89-
90- @import url("booya.css") print, screen;
91- @import "whatup.css" screen;
92- @import "wicked.css";
93-
94- /*Error*/
95- @charset "UTF-8";
96-
97-
98- @namespace "http://www.w3.org/1999/xhtml";
99- @namespace svg "http://www.w3.org/2000/svg";
100-
101- /*Warning: empty ruleset */
102- .foo {
103- }
104-
105- h1 {
106- font-weight: bold;
107- }
108-
109- /*Warning: qualified heading */
110- .foo h1 {
111- font-weight: bold;
112- }
113-
114- /*Warning: adjoining classes */
115- .foo.bar {
116- zoom: 1;
117- }
118-
119- li.inline {
120- width: 100%; /*Warning: 100% can be problematic*/
121- }
122-
123- li.last {
124- display: inline;
125- padding-left: 3px !important;
126- padding-right: 3px;
127- border-right: 0px;
128- }
129-
130- @media print {
131- li.inline {
132- color: black;
133- }
134- }
135-
136- @page {
137- margin: 10%;
138- counter-increment: page;
139-
140- @top-center {
141- font-family: sans-serif;
142- font-weight: bold;
143- font-size: 2em;
144- content: counter(page);
145- }
146- }
147- </ textarea > </ p >
14886< script >
14987 var editor = CodeMirror . fromTextArea ( document . getElementById ( "code-js" ) , {
15088 lineNumbers : true ,
@@ -160,12 +98,6 @@ <h2>Linter Demo</h2>
16098 lint : true
16199 } ) ;
162100
163- var editor_css = CodeMirror . fromTextArea ( document . getElementById ( "code-css" ) , {
164- lineNumbers : true ,
165- mode : "css" ,
166- gutters : [ "CodeMirror-lint-markers" ] ,
167- lint : true
168- } ) ;
169101</ script >
170102
171103 </ article>
0 commit comments