Slow down ajax requests

Submitted by ericbarnes - 11 years ago

When creating JS heavy apps some times you need to simulate a network delay so you can see how things are working as it's loading. This simple trick will do just that.

App::before(function()
{
    sleep(5);
});