<reponame>MGSousa/go-pipeline-editor
(function(mod) {
    if (typeof exports == "object" && typeof module == "object") // CommonJS
        mod(require("../../lib/codemirror"));
    else if (typeof define == "function" && define.amd) // AMD
        define(["../../lib/codemirror"], mod);
    else // Plain browser env
        mod(CodeMirror);
})(function(CodeMirror) {
    "use strict";

    CodeMirror.registerHelper("lint", "groovy", function() {
        var found = [];
        found.push({
            from: CodeMirror.Pos(22, 34),
            to: CodeMirror.Pos(22, 34),
            message: "Unexpected token",
            severity: "error"
        })
        return found;
    });

});