routie dev init since i didn't adhere to any proper guidance up until now
This commit is contained in:
+16
@@ -0,0 +1,16 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
function makeNext() {
|
||||
if (typeof process === "object" && typeof process.nextTick === "function") {
|
||||
return process.nextTick;
|
||||
}
|
||||
else if (typeof setImmediate === "function") {
|
||||
return setImmediate;
|
||||
}
|
||||
else {
|
||||
return function next(f) {
|
||||
setTimeout(f, 0);
|
||||
};
|
||||
}
|
||||
}
|
||||
exports.default = makeNext();
|
||||
Reference in New Issue
Block a user