File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed
client/modules/IDE/components/Editor Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -2,13 +2,14 @@ import Fuse from 'fuse.js';
2
2
import CodeMirror from 'codemirror' ;
3
3
import { JSHINT } from 'jshint' ;
4
4
import { HTMLHint } from 'htmlhint' ;
5
- import 'codemirror/addon/hint/css-hint ';
5
+ import { CSSLint } from 'csslint ';
6
6
7
+ import 'codemirror/addon/hint/css-hint' ;
7
8
import * as hinterDefinition from '../../../../utils/p5-hinter' ;
8
- import '../show-hint' ; // Remove for codemirror v6?
9
+ import '../show-hint' ; // TODO: Remove for codemirror v6?
9
10
10
- // Are we using these?????
11
11
window . JSHINT = JSHINT ;
12
+ window . CSSLint = CSSLint ;
12
13
window . HTMLHint = HTMLHint ;
13
14
14
15
const hinter = new Fuse ( hinterDefinition . p5Hinter , {
Original file line number Diff line number Diff line change @@ -34,7 +34,6 @@ import 'codemirror/addon/edit/closebrackets';
34
34
import 'codemirror/addon/selection/mark-selection' ;
35
35
import 'codemirror-colorpicker' ;
36
36
37
- import { CSSLint } from 'csslint' ;
38
37
import classNames from 'classnames' ;
39
38
import { debounce } from 'lodash' ;
40
39
import { connect } from 'react-redux' ;
@@ -71,8 +70,6 @@ import { showHint, hideHinter } from './hinter';
71
70
72
71
emmet ( CodeMirror ) ;
73
72
74
- window . CSSLint = CSSLint ;
75
-
76
73
const INDENTATION_AMOUNT = 2 ;
77
74
78
75
class Editor extends React . Component {
You can’t perform that action at this time.
0 commit comments