Spade
Mini Shell
| Directory:~$ /home/lmsyaran/public_html/media/editors/codemirror/addon/lint/ |
| [Home] [System Details] [Kill Me] |
!(function(a){"object"==typeof
exports&&"object"==typeof
module?a(require("../../lib/codemirror")):"function"==typeof
define&&define.amd?define(["../../lib/codemirror"],a):a(CodeMirror)})((function(a){"use
strict";a.registerHelper("lint","css",(function(b,c){var
d=[];if(!window.CSSLint)return
window.console&&window.console.error("Error: window.CSSLint
not defined, CodeMirror CSS linting cannot run."),d;for(var
e=CSSLint.verify(b,c),f=e.messages,g=null,h=0;h<f.length;h++){g=f[h];var
i=g.line-1,j=g.line-1,k=g.col-1,l=g.col;d.push({from:a.Pos(i,k),to:a.Pos(j,l),message:g.message,severity:g.type})}return
d}))}));