Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#34 - fixing examples so that they work with addEventListener on IE <9
- Loading branch information
1 parent
c7595fa
commit a2dedff
Showing
3 changed files
with
8 additions
and
8 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
addEventListener(window, "load", function() { | ||
attachEventListener(window, "load", function() { | ||
// Tell the opener that we are ready for business | ||
window.opener.postMessage(JSON.stringify({ "request": "ready", "id": window.name }), "*"); | ||
}, false); |
This file contains 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