revert e5e2aca0c4
revert Merge branch 'main' of http://47.107.152.87:3000/liubiao/APP # Conflicts: # .gitignore # pages/common/index/index.vue # unpackage/dist/dev/app-plus/app-config-service.js # unpackage/dist/dev/app-plus/app-service.js # unpackage/dist/dev/app-plus/app-view.js # unpackage/dist/dev/app-plus/manifest.json # utils/request.js
This commit is contained in:
22
node_modules/next-tick/test/index.js
generated
vendored
Normal file
22
node_modules/next-tick/test/index.js
generated
vendored
Normal file
@ -0,0 +1,22 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = function (t, a, d) {
|
||||
var invoked;
|
||||
|
||||
a(t(function () {
|
||||
a(arguments.length, 0, "Arguments");
|
||||
invoked = true;
|
||||
}), undefined, "Return");
|
||||
a(invoked, undefined, "Is not run immediately");
|
||||
setTimeout(function () {
|
||||
a(invoked, true, "Run in next tick");
|
||||
invoked = [];
|
||||
t(function () { invoked.push(0); });
|
||||
t(function () { invoked.push(1); });
|
||||
t(function () { invoked.push(2); });
|
||||
setTimeout(function () {
|
||||
a.deep(invoked, [0, 1, 2], "Serial");
|
||||
d();
|
||||
}, 10);
|
||||
}, 10);
|
||||
};
|
Reference in New Issue
Block a user