UNPKG

jquery-migrate

Version:

Migrate older jQuery code to jQuery 3.0+

28 lines (26 loc) 648 B
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>jQuery Migrate `ready` event iframe test</title> <!-- Load a jQuery and jquery-migrate plugin file based on URL --> <script src="testinit.js"></script> <script> TestManager.loadProject( "jquery", "git" ); </script> <script src="iframeTest.js"></script> <script> jQuery.noConflict(); TestManager.loadProject( "jquery-migrate", "dev", true ); </script> <script> // This should warn when the handler runs jQuery( document ).on( "ready", function() { startIframeTest(); } ); </script> </head> <body> <p>jQuery Migrate `ready` event iframe test</p> </body> </html>