Skip to content

Commit

Permalink
update blog link
Browse files Browse the repository at this point in the history
  • Loading branch information
ajb committed Aug 31, 2016
1 parent 826fa1d commit 3c06811
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Expand Up @@ -18,14 +18,14 @@ var autosaver = new Autosaver({
}
});

// autosaver debounces your AJAX calls so that only one request is made
// on the trailing edge. In this example, the AJAX request will be made
// autosaver debounces your AJAX calls so that only one request is made
// on the trailing edge. In this example, the AJAX request will be made
// *2000 milliseconds after* the last call to saveLater().
autosaver.saveLater();
autosaver.saveLater();
autosaver.saveLater();

// autosaver also allows for calling .saveNow(). In this example, the AJAX
// autosaver also allows for calling .saveNow(). In this example, the AJAX
// request will be sent immediately after the call to .saveNow().
autosaver.saveLater();
autosaver.saveNow();
Expand All @@ -45,7 +45,7 @@ Calls the save function immediately. If there is already a save in-flight, waits

#### .ensure(cb)

If there are unsycned changes, calls the save function and then `cb`. If there are no changes, calls `cb` immediately. Useful to ensure all changes are saved before a user [leaves the page](http://blog.dobt.co/2015/04/01/beforeunload-js/), for example.
If there are unsycned changes, calls the save function and then `cb`. If there are no changes, calls `cb` immediately. Useful to ensure all changes are saved before a user [leaves the page](https://www.dobt.co/blog/beforeunload-js/), for example.

#### .isPending()

Expand Down

0 comments on commit 3c06811

Please sign in to comment.