Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Event: Add triggering for "ready" event
- Loading branch information
Showing
6 changed files
with
107 additions
and
32 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
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
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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>jQuery Migrate `ready` event iframe test</title> | ||
<!-- // Support: IE < 11 --> | ||
<!-- Ensure IE doesn't fall back into oldIE modes --> | ||
<meta http-equiv="X-UA-Compatible" content="IE=Edge" /> | ||
|
||
<!-- Load a jQuery and jquery-migrate plugin file based on URL --> | ||
<script src="testinit.js"></script> | ||
<script> | ||
TestManager.loadProject( "jquery", "git" ); | ||
// Close this script tag so file will load | ||
</script> | ||
<script> | ||
jQuery.noConflict(); | ||
TestManager.loadProject( "jquery-migrate", "dev", true ); | ||
// Close this script tag so file will load | ||
</script> | ||
<script> | ||
jQuery.migrateMute = true; | ||
jQuery.migrateReset(); | ||
jQuery( document ).on( "ready", function() { | ||
parent.TestManager.iframeCallback( true, jQuery.migrateWarnings ); | ||
} ); | ||
</script> | ||
</head> | ||
<body> | ||
<p>jQuery Migrate `ready` event iframe test</p> | ||
</body> | ||
</html> |
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