MyMongodb/node_modules/jquery/test/readywait.html

(开头部分) 1KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<!DOCTYPE html>
<html>
<!--
	Test for jQuery.holdReady. Needs to be a
	standalone test since it deals with DOM
	ready.
-->
<head>
	<title>
		jQuery.holdReady Test
	</title>
	<style>
		div { margin-top: 10px; }
		#output { background-color: green }
		#expectedOutput { background-color: green }
	</style>
	<script src="../dist/jquery.min.js"></script>

	<!-- Load the script loader that uses
		jQuery.readyWait -->
	<script src="data/readywaitloader.js"></script>

	<script type="text/javascript">
	jQuery(function() {
		// The delayedMessage is defined by
		// the readywaitasset.js file, so the
		// next line will only work if this DOM
		// ready callback is called after readyWait
		// has been decremented by readywaitloader.js
		// If an error occurs.
		jQuery("#output").append(delayedMessage);
	});
	</script>
</head>
<body>
	<h1>
		jQuery.holdReady Test
	</h1>
	<p>
		This is a test page for jQuery.readyWait and jQuery.holdReady,
		see
		<a href="http://bugs.jquery.com/ticket/6781">#6781</a>
		and
		<a href="http://bugs.jquery.com/ticket/8803">#8803</a>.
	</p>
	<p>
	Test for jQuery.holdReady, which can be used
	by plugins and other scripts to indicate something
	important to the page is still loading and needs
	to block the DOM ready callbacks that are registered
	with jQuery.
	</p>
	<p>
	Script loaders are the most likely kind of script
	to use jQuery.holdReady, but it could be used by
	other things like a script that loads a CSS file
	and wants to pause the DOM ready callbacks.
	</p>
	<p>
	<strong>Expected Result</strong>: The text
后面还有 10 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。