init server python để điều khiển adb
This commit is contained in:
+19
@@ -0,0 +1,19 @@
|
||||
'use strict';
|
||||
|
||||
var utils = require('../utils.cjs');
|
||||
|
||||
/* eslint-disable */
|
||||
const customFactory = utils.apiFactory()((api, ctx, utils) => {
|
||||
return function custom(name, callback) {
|
||||
Object.defineProperty(api, name, {
|
||||
value: function (props) {
|
||||
return callback({ ctx, utils, props });
|
||||
},
|
||||
writable: false,
|
||||
enumerable: false,
|
||||
configurable: false,
|
||||
});
|
||||
};
|
||||
});
|
||||
|
||||
exports.customFactory = customFactory;
|
||||
Reference in New Issue
Block a user