From e0bd006ffcf9a80a7ba73a4dbf9be372d2c7961d Mon Sep 17 00:00:00 2001 From: William Candillon Date: Tue, 18 Nov 2014 13:55:32 -0800 Subject: [PATCH] Update xqlint dependency --- lib/ace/mode/xquery/xqlint.js | 65 +++++++++++++++++------------------ 1 file changed, 32 insertions(+), 33 deletions(-) diff --git a/lib/ace/mode/xquery/xqlint.js b/lib/ace/mode/xquery/xqlint.js index c7887aae..bfb18c1e 100644 --- a/lib/ace/mode/xquery/xqlint.js +++ b/lib/ace/mode/xquery/xqlint.js @@ -1,6 +1,6 @@ define(function(require, exports, module) { -module.exports = (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o // REx command line: JSONiqParser.ebnf -ll 2 -backtrack -tree -javascript -a xqlint @@ -44140,7 +44140,7 @@ JSONiqParser.TOKEN = }, {}], -10:[function(_dereq_,module,exports){ +10:[function(require,module,exports){ // This file was generated on Thu Jul 24, 2014 15:00 (UTC+01) by REx v5.30 which is Copyright (c) 1979-2014 by Gunther Rademacher // REx command line: XQueryParser.ebnf -ll 2 -backtrack -tree -javascript -a xqlint @@ -78693,7 +78693,7 @@ XQueryParser.TOKEN = }, {}], -11:[function(_dereq_,module,exports){ +11:[function(require,module,exports){ 'use strict'; exports.TreeOps = { @@ -78786,18 +78786,18 @@ exports.TreeOps = { }; }, {}], -12:[function(_dereq_,module,exports){ +12:[function(require,module,exports){ 'use strict'; -var JSONiqParser = _dereq_('./parsers/JSONiqParser').JSONiqParser; -var XQueryParser = _dereq_('./parsers/XQueryParser').XQueryParser; -var JSONParseTreeHandler = _dereq_('./parsers/JSONParseTreeHandler').JSONParseTreeHandler; -var Translator = _dereq_('./compiler/translator').Translator; -var StyleChecker = _dereq_('./formatter/style_checker').StyleChecker; -var completer = _dereq_('../lib/completion/completer'); +var JSONiqParser = require('./parsers/JSONiqParser').JSONiqParser; +var XQueryParser = require('./parsers/XQueryParser').XQueryParser; +var JSONParseTreeHandler = require('./parsers/JSONParseTreeHandler').JSONParseTreeHandler; +var Translator = require('./compiler/translator').Translator; +var StyleChecker = require('./formatter/style_checker').StyleChecker; +var completer = require('../lib/completion/completer'); var createStaticContext = exports.createStaticContext = function(){ - var StaticContext = _dereq_('./compiler/static_context').StaticContext; + var StaticContext = require('./compiler/static_context').StaticContext; return new StaticContext(); }; @@ -78906,7 +78906,6 @@ exports.XQLint = function (source, opts) { }; }, -{"../lib/completion/completer":6,"./compiler/static_context":4,"./compiler/translator":5,"./formatter/style_checker":7,"./parsers/JSONParseTreeHandler":8,"./parsers/JSONiqParser":9,"./parsers/XQueryParser":10}]},{},[12]) -(12) +{"../lib/completion/completer":6,"./compiler/static_context":4,"./compiler/translator":5,"./formatter/style_checker":7,"./parsers/JSONParseTreeHandler":8,"./parsers/JSONiqParser":9,"./parsers/XQueryParser":10}]},{},[12])(12) }); \ No newline at end of file