Merge pull request #698 from yowainwright/patch-1
[update] remove word, "novice"
This commit is contained in:
commit
b02f14a294
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ Here, look:
|
||||||
</script>
|
</script>
|
||||||
```
|
```
|
||||||
|
|
||||||
That's actually a well-known pitfall for novice developers. We shouldn't work with the document immediately, because that's the *wrong document*. If we set any event handlers on it, they will be ignored.
|
That's actually a well-known pitfall for developers. We shouldn't work with the document immediately, because that's the *wrong document*. If we set any event handlers on it, they will be ignored.
|
||||||
|
|
||||||
...But the `onload` event triggers when the whole iframe with all resources is loaded. What if we want to act sooner, on `DOMContentLoaded` of the embedded document?
|
...But the `onload` event triggers when the whole iframe with all resources is loaded. What if we want to act sooner, on `DOMContentLoaded` of the embedded document?
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue