add documentation for ace.require

This commit is contained in:
nightwing 2012-11-26 00:12:12 +04:00
commit e576099de7

View file

@ -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