0
0
mirror of https://github.com/Doodle3D/Doodle3D-Core.git synced 2025-05-10 17:33:21 +02:00

fix last commit

This commit is contained in:
casperlamboo 2017-11-08 23:27:40 +01:00
parent f17d8ad917
commit 7fe47b78ca

@ -52,14 +52,14 @@ export function createThrottle() {
if (!startLoop) return;
(function loop() {
return (function loop() {
return next().then(() => {
if (typeof next === 'function') return loop();
});
next = true;
})();
})().then(() => {
next = null;
});
};
}