forked from haneda3/fuhyohigai-ext
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathutils.js
More file actions
31 lines (23 loc) · 673 Bytes
/
Copy pathutils.js
File metadata and controls
31 lines (23 loc) · 673 Bytes
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
(function(undefined) {
var utils = window.fuhyohigai;
var core = utils.core;
utils.start = function() {
return core.start();
};
utils.stop = function() {
return core.stop();
};
utils.addListener = function(host, callback) {
return core.addListener(host, callback);
};
utils.contains = function(host, callback) {
return core.contains(host, callback);
};
utils.removeListener = function(host, callback) {
return core.removeListener(host, callback);
};
// alias
utils.onashasu = utils.addListener;
utils.ossu = utils.addListener;
utils.ossuossu = utils.addListener;
}).call(this);