diff --git a/lib/ace/ace.js b/lib/ace/ace.js index 69c21274..7d09eb24 100644 --- a/lib/ace/ace.js +++ b/lib/ace/ace.js @@ -55,6 +55,15 @@ require("./placeholder"); require("./mode/folding/fold_mode"); exports.config = require("./config"); +/** + * @param {String} moduleName + * @returns {Object} + * + * provides access to require in packed noconflict mode + * + **/ +exports.require = require; + /** * Embeds the Ace editor into the DOM, at the element provided by `el`. * @param {String | DOMElement} el Either the id of an element, or the element itself