No description or website provided.
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
1-theProblem.html
10-thenExample.html
11-thenExampleCleaner.html
12-thenExampleCleanest.html
13-parallelAnim.html
14-chainedAnim.html
15-chainedAnimThenGotcha.html
16-chainedAnimCleanest.html
17-formSubmission.html
18-displayAfterLoad.html
19-progressMeterUsingProgress.html
2-badSetTimeout.html
20-pubsub.html
21-checkLongRunningProcess.html
22-persistenceAdapters.js
23-qCreditCardEample.js
3-badCounters.html
4-badPyramid.html
5-baseDeferred.html
6-basePromise.html
7-wait.html
8-failIntendedExample.html
9-whenExample.html
appLongRunningExample.txt
latestNews.html
latestTweets.html
readme.md

readme.md

This project contains the code examples used in my presentation "Promises, Promises: Unlocking the Power of jQuery’s Deferreds" given at NCDevCon 2013.

You will need to have your browser console open to see the result of many of these files.

While most of the files contain fully working examples, the following contain fragments only:

  • 2-badSetTimeout.html
  • 3-badCounters.html
  • 4-badPyramid.html
  • 22-peristenceAdapters.txt
  • 23-qCreditCardExample.txt

To see how 21-checkLongRunningProcess.html works, simply change the text in appLongRunningExample.txt from "done" to something else and then back to "done" when you want the process to finish.