Bug 32491: Split patron search terms on comma - autocomplete
[koha.git] / koha-tmpl / intranet-tmpl / lib / codemirror / css-lint.min.js
1 !function(e){"object"==typeof exports&&"object"==typeof module?e(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],e):e(CodeMirror)}(function(l){"use strict";l.registerHelper("lint","css",function(e,o){var r=[];if(!window.CSSLint)return window.console&&window.console.error("Error: window.CSSLint not defined, CodeMirror CSS linting cannot run."),r;for(var n=CSSLint.verify(e,o).messages,i=null,t=0;t<n.length;t++){var s=(i=n[t]).line-1,c=i.line-1,d=i.col-1,f=i.col;r.push({from:l.Pos(s,d),to:l.Pos(c,f),message:i.message,severity:i.type})}return r})});