-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathIModule.js
37 lines (32 loc) · 927 Bytes
/
IModule.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
(function (ns) {
"use strict";
/**
* @name wader.IModule
* @interface Wader Module Interface
* @author Max Maximov <max.maximov@gmail.com>
* @version 0.3
*/
$.Class.extend("wader.IModule",
/** @lends wader.IModule */
{
/**
* @abstract
*/
init: function () {
throw new Error(this.constructor.fullName + ": не реализован метод init");
},
/**
* @abstract
*/
run: function () {
throw new Error(this.constructor.fullName + ": не реализован метод run");
},
/**
* @abstract
*/
destruct: function () {
throw new Error(this.constructor.fullName + ": не реализован метод destruct");
}
});
if (ns !== wader) ns.IModule = wader.IModule;
})(window.WADER_NS || window);