Skip to content

Commit b17baf5

Browse files
authored
Merge pull request #672 from orionlee/make_core_compatible_with_commonjs
Fix #666 : Make core (dist/csslint.js) compatible with CodeMirror in …
2 parents 78d218d + 4764627 commit b17baf5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Gruntfile.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,10 @@ module.exports = function(grunt) {
6565
core: {
6666
options: {
6767
banner: "<%= banner %>\n" +
68+
"var CSSLint = (function(){\n" +
6869
// Hack for using the node version of parserlib and clone
69-
"var module = module || {},\n" +
70-
" exports = exports || {};\n\n" +
71-
"var CSSLint = (function(){\n",
70+
" var module = module || {},\n" +
71+
" exports = exports || {};\n\n",
7272
footer: "\nreturn CSSLint;\n})();"
7373
},
7474
src: [

0 commit comments

Comments
 (0)