GT2/GT2-iOS/node_modules/immediate/lib/nextTick.js

12 lines
260 B
JavaScript

'use strict';
exports.test = function () {
// Don't get fooled by e.g. browserify environments.
return (typeof process !== 'undefined') && !process.browser;
};
exports.install = function (func) {
return function () {
process.nextTick(func);
};
};