| 1 |
efrain |
1 |
YUI.add('moodle-core-notification', function (Y, NAME) {
|
|
|
2 |
|
|
|
3 |
/**
|
|
|
4 |
* The notification module provides a standard set of dialogues for use
|
|
|
5 |
* within Moodle.
|
|
|
6 |
*
|
|
|
7 |
* @module moodle-core-notification
|
|
|
8 |
* @main
|
|
|
9 |
*/
|
|
|
10 |
|
|
|
11 |
/**
|
|
|
12 |
* To avoid bringing moodle-core-notification into modules in it's
|
|
|
13 |
* entirety, we now recommend using on of the subclasses of
|
|
|
14 |
* moodle-core-notification. These include:
|
|
|
15 |
* <dl>
|
|
|
16 |
* <dt> moodle-core-notification-dialogue</dt>
|
|
|
17 |
* <dt> moodle-core-notification-alert</dt>
|
|
|
18 |
* <dt> moodle-core-notification-confirm</dt>
|
|
|
19 |
* <dt> moodle-core-notification-exception</dt>
|
|
|
20 |
* <dt> moodle-core-notification-ajaxexception</dt>
|
|
|
21 |
* </dl>
|
|
|
22 |
*
|
|
|
23 |
* @class M.core.notification
|
|
|
24 |
* @deprecated
|
|
|
25 |
*/
|
|
|
26 |
|
|
|
27 |
|
|
|
28 |
}, '@VERSION@', {
|
|
|
29 |
"requires": [
|
|
|
30 |
"moodle-core-notification-dialogue",
|
|
|
31 |
"moodle-core-notification-alert",
|
|
|
32 |
"moodle-core-notification-confirm",
|
|
|
33 |
"moodle-core-notification-exception",
|
|
|
34 |
"moodle-core-notification-ajaxexception"
|
|
|
35 |
]
|
|
|
36 |
});
|