start queue

This commit is contained in:
casperlamboo 2016-04-18 09:30:07 +02:00
parent 3c846db788
commit c5839238f1
1 changed files with 4 additions and 0 deletions

View File

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