[ Index ]

PHP Cross Reference of Moodle 310

title

Body

[close]

/lib/amd/build/ -> pending.min.js (source)

   1  /**
   2   * A helper to manage pendingJS checks.
   3   *
   4   * @module     core/pending
   5   * @copyright  2018 Andrew Nicols <andrew@nicols.co.uk>
   6   * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
   7   * @since      3.6
   8   */
   9  define("core/pending",["jquery"],(function($){var request=function(pendingKey){var pendingPromise=$.Deferred();return pendingKey=pendingKey||{},M.util.js_pending(pendingKey),pendingPromise.then((function(){return M.util.js_complete(pendingKey)})).catch(),pendingPromise};return request.prototype.constructor=request,request}));
  10  
  11  //# sourceMappingURL=pending.min.js.map


Generated: Wed Jan 22 11:59:49 2025 Cross-referenced by PHPXref 0.7.1