'use strict';(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){a.registerHelper("lint","json",function(e){var d=[];if(!window.jsonlint)return window.console&&window.console.error("Error: window.jsonlint not defined, CodeMirror JSON linting cannot run."),d;var c=window.jsonlint.parser||window.jsonlint;c.parseError=function(c,b){b=b.loc;d.push({from:a.Pos(b.first_line-
1,b.first_column),to:a.Pos(b.last_line-1,b.last_column),message:c})};try{c.parse(e)}catch(f){}return d})});
