Created
July 24, 2012 21:47
-
-
Save marshall007/3172889 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $.when( t.mapTemplate, t.locations ).done( function () { | |
| ... | |
| } | |
| 1. initial ajax call for locations | |
| 2. initial ajax call for template | |
| 3. fire another ajax call for locations | |
| 4. (1) finishes with response: { "data": "location1" } | |
| 5. (2) finishes with response: { "data": "location2" } | |
| 6. (3) finishes | |
| at this point is the done function called with (1) data or (2) data? | |
| if it's called with (1) is it then called again with (2)? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment