images to svg
This commit is contained in:
parent
a31e881856
commit
3ba28aa104
734 changed files with 11682 additions and 245 deletions
|
@ -42,7 +42,7 @@ Here the flow is:
|
|||
|
||||
As the result is passed along the chain of handlers, we can see a sequence of `alert` calls: `1` -> `2` -> `4`.
|
||||
|
||||

|
||||

|
||||
|
||||
The whole thing works, because a call to `promise.then` returns a promise, so that we can call the next `.then` on it.
|
||||
|
||||
|
@ -94,7 +94,7 @@ What we did here is just several handlers to one promise. They don't pass the re
|
|||
|
||||
Here's the picture (compare it with the chaining above):
|
||||
|
||||

|
||||

|
||||
|
||||
All `.then` on the same promise get the same result -- the result of that promise. So in the code above all `alert` show the same: `1`.
|
||||
|
||||
|
@ -382,4 +382,4 @@ If a `.then` (or `catch/finally`, doesn't matter) handler returns a promise, the
|
|||
|
||||
Here's a full picture:
|
||||
|
||||

|
||||

|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue