<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-Hans-CN">
	<id>https://pigeongames.gaoice.run/index.php?action=history&amp;feed=atom&amp;title=%E7%94%A8%E6%88%B7%3AStaf_Irity%2FJavaScript%2FPageJS_Core.js</id>
	<title>用户:Staf Irity/JavaScript/PageJS Core.js - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://pigeongames.gaoice.run/index.php?action=history&amp;feed=atom&amp;title=%E7%94%A8%E6%88%B7%3AStaf_Irity%2FJavaScript%2FPageJS_Core.js"/>
	<link rel="alternate" type="text/html" href="https://pigeongames.gaoice.run/index.php?title=%E7%94%A8%E6%88%B7:Staf_Irity/JavaScript/PageJS_Core.js&amp;action=history"/>
	<updated>2026-08-16T01:45:13Z</updated>
	<subtitle>本wiki上该页面的版本历史</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://pigeongames.gaoice.run/index.php?title=%E7%94%A8%E6%88%B7:Staf_Irity/JavaScript/PageJS_Core.js&amp;diff=48414&amp;oldid=prev</id>
		<title>Staf Irity：​创建页面，内容为“/**  * 原始文件改自llwiki.org/zh/User:Bhsd/widget/listen.js，以CC BY-NC-SA 4.0知识共享协议分发。  * @Function: PageJS的核心，作用是改simpleJS的信息  * @Author: SST, [LLwiki]  */ &quot;use strict&quot;; /* global mw, $ */ (RLQ=window.RLQ||[]).push(function(){ 	console.log(&quot;test&quot;); 	mw.widget = mw.widget || {}; 	if (mw.widget.JSCore){return;} 	mw.widget.JSCore = true; 	mw.loader.implement(&quot;lw.pagejs.core&quot;,function (jQuery,$){ 		$(document).ready…”</title>
		<link rel="alternate" type="text/html" href="https://pigeongames.gaoice.run/index.php?title=%E7%94%A8%E6%88%B7:Staf_Irity/JavaScript/PageJS_Core.js&amp;diff=48414&amp;oldid=prev"/>
		<updated>2024-07-03T16:45:26Z</updated>

		<summary type="html">&lt;p&gt;创建页面，内容为“&lt;span class=&quot;autocomment&quot;&gt;*  * 原始文件改自llwiki.org/zh/User:Bhsd/widget/listen.js，以CC BY-NC-SA 4.0知识共享协议分发。  * @Function: PageJS的核心，作用是改simpleJS的信息  * @Author: SST, &amp;#91;LLwiki&amp;#93;：​&lt;/span&gt; &amp;quot;use strict&amp;quot;; &lt;span class=&quot;autocomment&quot;&gt;global mw, $：​&lt;/span&gt; (RLQ=window.RLQ||[]).push(function(){ 	console.log(&amp;quot;test&amp;quot;); 	mw.widget = mw.widget || {}; 	if (mw.widget.JSCore){return;} 	mw.widget.JSCore = true; 	mw.loader.implement(&amp;quot;lw.pagejs.core&amp;quot;,function (jQuery,$){ 		$(document).ready…”&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;/**&lt;br /&gt;
 * 原始文件改自llwiki.org/zh/User:Bhsd/widget/listen.js，以CC BY-NC-SA 4.0知识共享协议分发。&lt;br /&gt;
 * @Function: PageJS的核心，作用是改simpleJS的信息&lt;br /&gt;
 * @Author: SST, [LLwiki]&lt;br /&gt;
 */&lt;br /&gt;
&amp;quot;use strict&amp;quot;;&lt;br /&gt;
/* global mw, $ */&lt;br /&gt;
(RLQ=window.RLQ||[]).push(function(){&lt;br /&gt;
	console.log(&amp;quot;test&amp;quot;);&lt;br /&gt;
	mw.widget = mw.widget || {};&lt;br /&gt;
	if (mw.widget.JSCore){return;}&lt;br /&gt;
	mw.widget.JSCore = true;&lt;br /&gt;
	mw.loader.implement(&amp;quot;lw.pagejs.core&amp;quot;,function (jQuery,$){&lt;br /&gt;
		$(document).ready(function(){&lt;br /&gt;
			$(&amp;#039;.lw-simpleJS&amp;#039;).each(function(i){&lt;br /&gt;
				let AttrMap = $(this)[0].attributes;&lt;br /&gt;
				let rawLength = AttrMap.length;&lt;br /&gt;
				for (i = 0;i &amp;lt; rawLength;i++){&lt;br /&gt;
					let attrObj = AttrMap[i];&lt;br /&gt;
					let name = attrObj.name;&lt;br /&gt;
					if (name.slice(0,9) == &amp;#039;data-def_&amp;#039;){&lt;br /&gt;
						$(this).attr(name.slice(9),attrObj.value)&lt;br /&gt;
					}else{&lt;br /&gt;
					}&lt;br /&gt;
				}&lt;br /&gt;
			});&lt;br /&gt;
		});&lt;br /&gt;
	})&lt;br /&gt;
});&lt;br /&gt;
// [[category:jQuery小部件]]&lt;/div&gt;</summary>
		<author><name>Staf Irity</name></author>
	</entry>
</feed>