Skip to content

Commit b77f842

Browse files
committed
[empty] eslint fixes
1 parent ecef73a commit b77f842

File tree

2 files changed

+8
-18
lines changed

2 files changed

+8
-18
lines changed

plugins/empty/api/api.js

+5-13
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,6 @@
1-
var plugin = {},
2-
common = require('../../../api/utils/common.js'),
3-
plugins = require('../../pluginManager.js');
1+
var plugins = require('../../pluginManager.js');
42

5-
(function(plugin) {
6-
//write api call
7-
/*
8-
plugins.register("/i", function(ob){
9-
10-
});
11-
*/
12-
}(plugin));
13-
14-
module.exports = plugin;
3+
//write api call
4+
plugins.register("/i", function(/*ob*/) {
5+
//process sdk request here
6+
});

plugins/empty/frontend/app.js

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
var plugin = {};
22

3-
(function(plugin) {
4-
plugin.init = function(app, countlyDb) {
5-
6-
};
7-
}(plugin));
3+
plugin.init = function(/*app, countlyDb*/) {
4+
//add middleware here
5+
};
86

97
module.exports = plugin;

0 commit comments

Comments
 (0)