Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 1441
Línea 20... Línea 20...
20
 * @copyright  2019 Ryan Wyllie <ryan@moodle.com>
20
 * @copyright  2019 Ryan Wyllie <ryan@moodle.com>
21
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
21
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
22
 */
22
 */
Línea 23... Línea 23...
23
 
23
 
-
 
24
import Pending from 'core/pending';
Línea 24... Línea 25...
24
import Pending from 'core/pending';
25
import jQuery from 'jquery';
25
 
26
 
26
 /**
27
 /**
27
  * Create a wrapper function to throttle the execution of the given
28
  * Create a wrapper function to throttle the execution of the given
Línea 145... Línea 146...
145
        }
146
        }
146
    }
147
    }
Línea 147... Línea 148...
147
 
148
 
148
    return 'core';
149
    return 'core';
-
 
150
};
-
 
151
 
-
 
152
/**
-
 
153
 * Wrap a Native Promise in a jQuery Whenable for b/c.
-
 
154
 *
-
 
155
 * @param {*} promise
-
 
156
 * @returns {jQuery}
-
 
157
 */