Skip to content

Latest commit

 

History

History
16 lines (13 loc) · 385 Bytes

README.md

File metadata and controls

16 lines (13 loc) · 385 Bytes

scheduler.js

Chain your AJAX requests!

Example:

 var scheduler = new Scheduler()
 
scheduler.add(                 // 1. request 
  "https://api.github.com/zen", // URL
  alert(text),                  // callback 
  "GET"                         // method
)

scheduler.add()                // 2. request
scheduler.add()                // 3. request and so on