0
0
mirror of https://github.com/Doodle3D/Doodle3D-API synced 2024-12-22 13:53:48 +01:00

start queue

This commit is contained in:
casperlamboo 2016-04-18 09:30:07 +02:00
parent 3c846db788
commit c5839238f1

View File

@ -3,6 +3,10 @@ import $ from 'jquery';
const GET_TIMEOUT = 5000; const GET_TIMEOUT = 5000;
const POST_TIMEOUT = 10000; const POST_TIMEOUT = 10000;
// TODO
// implement queue meganism
const queue = [];
export function get (url) { export function get (url) {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
$.ajax({ $.ajax({