{"id":1984,"date":"2019-01-18T17:40:33","date_gmt":"2019-01-18T09:40:33","guid":{"rendered":"http:\/\/ufqi.com\/blog\/?p=1984"},"modified":"2019-01-19T08:35:11","modified_gmt":"2019-01-19T00:35:11","slug":"hanjst-javascript-runtime","status":"publish","type":"post","link":"https:\/\/ufqi.com\/blog\/hanjst-javascript-runtime\/","title":{"rendered":"\ud83d\udee0\ufe0fHanjst\/\u6c49\u5409\u65af\u7279\u66f4\u65b0\u52a0JavaScript\u8fd0\u884c\u65f6\u4f18\u5316\u7b49"},"content":{"rendered":"<p>\u8fd9\u662f <a href=\"https:\/\/ufqi.com\/dev\/hanjst\/Hanjst.demo.html\">Hanjst\/\u6c49\u5409\u65af\u7279<\/a> \u53d1\u5e03\u4ee5\u6765\u7684\u9996\u4e2a\u4e3b\u8981\u5347\u7ea7\u66f4\u65b0\u7248\u672c\u3002\u8fd9\u6b21\u7684\u4e3b\u8981\u5347\u7ea7\u66f4\u65b0\u7684\u5185\u5bb9\u5305\u62ec\u79fb\u9664HTML Comments\u6ce8\u91ca\u884c, \u4f18\u5316\u5728 Hanjst include\u6a21\u677f\u6587\u4ef6\u65f6\u7684JavaScript\u8fd0\u884c\u65f6\u73af\u5883\u3002<\/p>\n<p>Hanjst \u5728\u8bbe\u8ba1\u548c\u5de5\u7a0b\u5b9e\u73b0\u65f6\uff0c\u9884\u7559\u4e86\u6a21\u677f\u6587\u4ef6\u5d4c\u5957\u529f\u80fd\uff0c\u7531\u4e8e\u5728\u8fc7\u5f80\u7684Web\u8f6f\u4ef6\u7814\u53d1\u8fc7\u7a0b\u4e2d\uff0c\u5bf9\u6a21\u677f\u6587\u4ef6\u7684\u5957\u7528\u573a\u666f\u975e\u5e38\u719f\u6089\uff0c\u6240\u4ee5\u5bf9\u8fd9\u4e00\u9700\u6c42\u4e5f\u611f\u89e6\u8f83\u591a\uff0c\u4e8e\u662f\u5728\u6700\u65e9\u7684 Hanjst \u521d\u59cb\u53d1\u5e03\u4e2d\u5c31\u9884\u5236\u4e86\u6a21\u677f\u5d4c\u5957\u529f\u80fd\u3002<\/p>\n<p>Hanst\u7684\u6a21\u677f\u5d4c\u5957\u91c7\u7528\u4e86\u4e0e <a href=\"https:\/\/ufqi.com\/naturedns\/search?q=-smarty\">-Smarty<\/a> \u7b49\u6a21\u677f\u8bed\u8a00\u7c7b\u4f3c\u7684\u8bed\u6cd5\u8868\u8fbe\uff1a<\/p>\n<blockquote>\n<p>{include file=&#8221;$anEmbedTplFile&#8221;}<\/p>\n<\/blockquote>\n<p>\u5176\u4e2d \u201canEmbedTplFile\u201d \u7ecf\u7531\u670d\u52a1\u5668\u7aef\u8bfb\u53d6\u5e76\u751f\u6210\u60f3\u8981\u7684\u8868\u8fbe\u5f0f\u8bed\u8a00\u5b57\u7b26\u4e32\u3002\u7136\u540e\u7ecf\u7531 Hanjst JSON Data \u4f20\u9012\u7ed9 Hanjst \u6a21\u677f\u89e3\u6790\u5f15\u64ce\u3002<\/p>\n<p>Hanjst \u6a21\u677f\u5f15\u64ce\u5728\u89e3\u6790 include \u6307\u4ee4\u65f6\uff0c\u5c06\u5bf9\u5e94\u7684\u6a21\u677f\u8868\u8fbe\u5f0f\u6c47\u5165\u5f53\u524d\u7684\u9875\u9762\u7684\u5f53\u524d\u4f4d\u7f6e\uff0c\u4ece\u800c\u5b9e\u73b0\u5bf9\u6a21\u677f\u7684\u5d4c\u5957\u3002\u8fd9\u4e2a\u8fc7\u7a0b\u5f88\u6d41\u7545\uff0c\u903b\u8f91\u4e5f\u4e0e\u670d\u52a1\u5668\u7aef\u6a21\u677f\u8bed\u8a00\u4e00\u81f4\u3002\u6240\u4e0d\u540c\u4e8e\u670d\u52a1\u5668\u7aef\u6a21\u677f\u8bed\u8a00\u7684\u662f\uff0c\u5f53\u6211\u4eec\u5728 anEbedTplFile \u91cc\u58f0\u660e JavaScript \u53d8\u91cf\u53ca\u5bf9\u8c61\u65f6\uff0c\u5728\u7236\u6a21\u677f\u7684 JavaScript\u8fd0\u884c\u65f6\u73af\u5883\u4e2d\u53ef\u80fd\u627e\u4e0d\u5230\u8be5\u53d8\u91cf\u6216\u5bf9\u8c61\u3002\u8bbe\u82e5\uff0c anEmbedTplFile \u4e2d\u5305\u62ec\u5982\u4e0b\u5185\u5bb9\uff1a<\/p>\n<blockquote>\n<p>&lt;p&gt;This is in an Embed Tpl File&lt;\/p&gt;<br \/>&lt;script&gt;<br \/>function embedJSFunc(varA){ console.log((new Date())+&#8221; :\u00a0 call embedJSFunc with varA:&#8221;+varA); }<br \/>embedJSFunc(&#8220;I&#8217;m in embed tpl file!&#8221;);<br \/>&lt;\/script&gt;<br \/>&lt;p&gt;EOF.&lt;\/p&gt;<\/p>\n<\/blockquote>\n<p>\u5f53\u6211\u4eec\u5c06\u8be5\u6a21\u677f\u4ee5\u5d4c\u5957\u7684\u5f62\u5f0f\u8fdb\u884c\u5d4c\u5165\u4e00\u4e2a index.html \u4e2d\u65f6:<\/p>\n<blockquote>\n<p>&lt;p&gt;This is in an Index Tpl File.&lt;\/p&gt;<br \/>{include file=&#8221;anEmbedTplFIle&#8221;}<br \/>&lt;p&gt;EOF.&lt;\/p&gt;<\/p>\n<\/blockquote>\n<p>Hanjst \u5728\u89e3\u6790 index \u65f6\uff0c\u4f1a\u5c06 anEmbedTplFile \u7684\u5185\u5bb9\u5408\u5e76\u5230 index \u4e2d\uff0c\u540c\u65f6\u901a\u8fc7 _appendScript \u79c1\u6709\u65b9\u6cd5\u5c06 embedJSFunc \u6ce8\u518c\u5230 index \u4e2d\uff0c\u540c\u65f6\u5728 index \u7684\u8fd0\u884c\u65f6\u73af\u5883\u6267\u884c embedJSFunc \u51fd\u6570\u3002<\/p>\n<p>\u8fd9\u6b21\u7684\u4e3b\u8981\u5347\u7ea7\u6539\u8fdb\u5c31\u662f\u8fd9\u4e00\u6d41\u7a0b\u4e2d\u7684\u7ec6\u8282\u8fdb\u4e00\u6b65\u7684\u4f18\u5316\u63d0\u5347\u3002<\/p>\n<p><span style=\"text-decoration: underline\"><strong>1\uff09\u8d44\u6e90\u51b2\u7a81\u95ee\u9898<\/strong><\/span>\uff0c\u5f53 index \u4e2d\u4e5f\u6709 embedJSFunc \u540c\u540d\u51fd\u6570\u65f6\uff0c\u4f1a\u62a5\u9519\u3002<br \/>\u8be5\u5982\u4f55\u5904\u7406\u62a5\u9519\u4fe1\u606f\uff1f<br \/>\u53ef\u884c\u65b9\u6cd5\u662f\uff0c\u907f\u514d\u5728 index \u548c embed \u6587\u4ef6\u4e2d\u540c\u65f6\u547d\u540d\u76f8\u540c\u7684\u51fd\u6570\u6216\u53d8\u91cf\u3001\u5bf9\u8c61\uff0c\u4ee5\u514d\u5f15\u8d77\u51b2\u7a81\u5bfc\u81f4\u51fa\u9519\u3002<br \/>\u5373\u4fbf\u6709\u5f00\u53d1\u8005\u610f\u5916\u5730\u5728 index \u548c embed \u4e2d\u540c\u6837\u5730\u58f0\u660e\u4e86\u76f8\u540c\u7684\u51fd\u6570\u540e\u8005\u53d8\u91cf\uff0cHanjst \u4e5f\u505a\u4e86\u5f02\u5e38\u5904\u7406\uff0c\u4ee5\u4fbf\u6574\u4f53\u6d41\u7a0b\u80fd\u591f\u987a\u5229\u6267\u884c\u5e76\u5b8c\u6210\u9875\u9762\u6e32\u67d3\u3002<\/p>\n<p><strong><span style=\"text-decoration: underline\">2\uff09\u5982\u679c\u5728 embed \u4e2d\u6709 &lt;script src=&#8221;&#8221;&gt;&lt;\/script&gt;, \u9700\u8981\u8003\u8651\u5f15\u5165\u5176\u811a\u6b65\u8d44\u6e90\u3002<\/span><\/strong><br \/>\u8be5\u600e\u6837\u5f15\u5165\u8f83\u597d?<br \/>\u8def\u5f84\u4e2d\u7684\u53d8\u91cf\u5982\u4f55\u5904\u7406?<br \/>Hanjst \u6b64\u6b21\u6539\u8fdb\u589e\u52a0\u4e86\u5bf9 embed \u7684\u5f15\u5165\u8d44\u6e90\u7684\u652f\u6301\uff0c\u5bf9\u8d44\u6e90\u8def\u5f84\u4e2d\u7684\u53d8\u91cf\u8fdb\u884c\u89e3\u6790\uff0c\u5982\u5728 anEmbedTplFile \u4e2d\uff1a<\/p>\n<blockquote>\n<p>&lt;script async src=&#8221;{$tplDir}\/js\/adsbygoogle.js&#8221;&gt;&lt;\/script&gt;<\/p>\n<\/blockquote>\n<p>\u5219 Hanjst \u5728\u5c06 \u8be5js\u5f15\u5165\u5230 index\u65f6\uff0c\u540c\u65f6\u89e3\u6790\u51fa {$tplDir} \u6240\u6307\u5411\u7684\u771f\u5b9e\u8def\u5f84\u3002<\/p>\n<p>\u7136\u800c\uff0c\u5982\u679c\u662f\u5728 index \u4e2d\u6a21\u677f\u4e2d\u7684\u8def\u5f84\uff0c\u5219\u9700\u8981\u5728\u670d\u52a1\u5668\u7aef\u8fdb\u884c\u76f8\u5e94\u7684\u66ff\u6362\uff0c\u56e0\u4e3a\u6b64\u65f6Hanjst \u5c1a\u672a\u63a5\u7ba1\u5bf9\u9875\u9762\u7684\u6e32\u67d3\uff0c\u5c24\u5176\u662f\u4e0d\u80fd\u4f7f\u7528\u5e26\u6709\u53d8\u91cf\u7684\u8def\u5f84\u6765\u5f15\u5165 Hanjst.js \u6587\u4ef6\u3002<\/p>\n<p>\u5728\u670d\u52a1\u5668\u7aef\u5bf9\u8d44\u6e90\u8def\u5f84\u8fdb\u884c\u66ff\u6362\u7684\u901a\u5e38\u505a\u6cd5\u5927\u81f4\u8fc7\u7a0b\u662f\uff1a<strong>A\uff09\u6a21\u677f\u5f00\u53d1\u4eba\u5458<\/strong>\uff0c\u524d\u7aef\u8bbe\u8ba1\u5236\u4f5c\u4eba\u5458\u901a\u5e38\u4f1a\u4f7f\u7528\u76f8\u5bf9\u8d44\u6e90\u5f15\u7528\u8def\u5f84\u5728\u4ea4\u4ed8\u8bbe\u8ba1\u7a3f\u65f6\uff0c<strong>B\uff09\u5de5\u7a0b\u6280\u672f\u4eba\u5458\u62ff\u5230\u5e26\u6709\u76f8\u5bf9\u8d44\u6e90\u5f15\u7528\u8def\u5f84\u65f6<\/strong>\uff0c\u4f1a\u5206\u5272\u51fa\u5171\u7528\u5934\u6587\u4ef6\u548c\u5c3e\u6587\u4ef6\uff0c\u5176\u4ed6\u5d4c\u5957\u6587\u4ef6\u5757\uff0c\u7136\u540e\u85c9\u7531\u6a21\u677f\u5f15\u64ce\u7684{include}\u6307\u4ee4\uff0c\u91cd\u65b0\u5206\u5272\u3001\u7ec4\u88c5\u6a21\u677f\uff0c<strong>C\uff09\u5de5\u7a0b\u6280\u672f\u4eba\u5458\u5c06\u5176\u4e2d\u7684\u76f8\u5bf9\u5f15\u7528\u8def\u5f84\u66ff\u6362\u4e3a\u5e26\u6709\u6a21\u677f\u7edd\u5bf9\u8def\u5f84<\/strong>\u7684\u8f93\u51fa\u5185\u5bb9\u6587\u672c\u3002\u76f8\u5e94\u7684\u66ff\u6362\u903b\u8f91\u53ef\u4ee5\u5728 <a href=\"https:\/\/ufqi.com\/naturedns\/search?q=-gwa2\">-GWA2<\/a>\u00a0Java\u7248\u4e2d\u89c1\u5230\u3002<\/p>\n<blockquote>\n<p>\/\/- replaces in GWA2Java<br \/> String[] repTags = new String[]{&#8220;images&#8221;, &#8220;css&#8221;, &#8220;js&#8221;, &#8220;pics&#8221;};<br \/> for(int ti=0; ti&lt;repTags.length; ti++){<br \/>\u00a0 \u00a0 outx.append(&#8220;ti:[&#8220;+ti+&#8221;] reptag:[&#8220;+repTags[ti]+&#8221;]&#8221;);<br \/>\u00a0 \u00a0 tplcont = tplcont.replaceAll(&#8220;\\&#8221;&#8221;+repTags[ti]+&#8221;\/&#8221;, &#8220;\\&#8221;&#8221;+viewdir +&#8221;\/&#8221;+repTags[ti]+&#8221;\/&#8221;);<br \/> }<\/p>\n<\/blockquote>\n<p><span style=\"text-decoration: underline\"><strong>3\uff09\u6267\u884c\u65f6\u5e8f\u95ee\u9898<\/strong><\/span>\uff0c\u5982\u679c\u662f\u6267\u884c\u8bed\u53e5\uff0c\u7ed1\u5b9a\u4e86\u76f8\u5e94\u7684DOM\u5bf9\u8c61\uff0c\u800c\u8be5\u5bf9\u8c61\u5728Hanjst\u5f53\u524d\u73af\u5883\u4e2d\u8fd8\u672a\u5c31\u7eea\uff0c\u4f1a\u62a5\u9519.<br \/>\u8be5\u5982\u4f55\u5904\u7406?<br \/>onComplete?\u00a0 window.setTimeout?<\/p>\n<p>\u5f53 Hanjst \u5c06 embed\u7684\u6a21\u677f\u5185\u5bb9\u4e2d\u7684\u811a\u672c\u6ce8\u5165\u5230 index \u7684\u8fd0\u884c\u65f6\u73af\u5883\u65f6\uff0c\u5728\u89e3\u51b3\u4e86\u8d44\u6e90\u51b2\u7a81\u95ee\u9898\u4e4b\u540e\uff0c\u9700\u8981\u8003\u8651\u6267\u884c\u65f6\u5e8f\uff0c\u5c24\u5176\u662f\u5f53\u5f85\u6267\u884c\u7684\u4ee3\u7801\u9700\u8981\u4f9d\u9760 Hanjst \u540e\u7eed\u8f93\u51fa\u7684DOM \u5bf9\u8c61\u65f6\uff0c\u9700\u8981\u5ef6\u540e\u6267\u884c\u3002<\/p>\n<p>\u5ef6\u540e\u6267\u884c\u6709\u4e24\u79cd\u601d\u8def\uff0c\u4f9d\u9760 JavaScript\u7684\u4e8b\u4ef6\u9a71\u52a8\u673a\u5236event-driven, \u5c06\u5f85\u6267\u884c\u7684\u52a8\u4f5c\u7ed1\u5b9a\u5230 Hanjst \u7684\u6e32\u67d3\u65b9\u6cd5 _renderTemplate \u4e4b\u540e\uff0c\u4e5f\u5373 Hanjst._renderTemplate.onComplete\u3002 \u7b2c\u4e8c\u79cd\u601d\u8def\u662f\uff0c\u4f9d\u9760 JavaScript\u7684\u533f\u540d\u51fd\u6570Anonymous Function\u673a\u5236\uff0c\u65e2\u7136\u662f\u5ef6\u540e\u6267\u884c\uff0c\u5219\u53ef\u4ee5\u5c06\u5f85\u6267\u884c\u7684\u547d\u4ee4\u5c01\u88c5\u5230\u4e00\u4e2a\u533f\u540d\u51fd\u6570\uff0c\u7136\u540e\u8bbe\u5b9a\u4e00\u4e2a window.setTimeout \u8fc7\u4e00\u6bb5\u65f6\u95f4\uff08\u9884\u8ba1 Hanjst \u6e32\u67d3\u5b8c\u6210 DOM\uff09\u4e4b\u540e\u518d\u89e6\u53d1\u8be5\u52a8\u4f5c\u3002<\/p>\n<p>\u76ee\u524d\uff0cHanjst \u91c7\u7528\u7684\u662f\u540e\u4e00\u79cd\u89e3\u51b3\u6267\u884c\u65f6\u5e8f\u95ee\u9898\uff0c\u4e5f\u5373\u5f53 embed\u7684\u52a8\u4f5c\u8981\u6267\u884c\u65f6\uff0c\u5148\u4ee5\u4e00\u4e2a\u533f\u540d\u51fd\u6570\u5c01\u88c5\u5e76\u751f\u6210\u4e00\u4e2a window.setTimeout\u3002<\/p>\n<p>\u6267\u884c\u65f6\u5e8f\u95ee\u9898\uff0c\u4e0d\u5355\u662f embed\u6709\uff0c\u6709\u65f6\u5019index\u5185\u7684\u6267\u884c\u51fd\u6570\u4e5f\u6709\u95ee\u9898\uff0c\u4e00\u4e2a\u5e38\u89c1\u7684\u573a\u666f\u662f\uff0c\u5982\u679c\u67d0\u4e9bJavaScript\u8c03\u7528\u662f\u53d1\u751f\u5728 Hanjst\u5f15\u7528\u4e4b\u524d\uff0c\u5219\u4f1a\u88ab\u8c03\u7528\u4e24\u6b21\uff08\u91cd\u590d\uff01\uff09\u3002\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\u7684\u601d\u8def\u5c31\u662f\u5c06 \u5f85\u6267\u884c\u7684\u547d\u4ee4\u653e\u5728 Hanjst \u5f15\u7528\u4e4b\u540e\uff0c\u6216\u8005\u5728\u547d\u4ee4\u8bbe\u8ba1\u65f6\uff0c\u5141\u8bb8\u91cd\u590d\u6267\u884c\u800c\u4e0d\u5f71\u54cd\u9884\u8ba1\u6548\u679c\u3002<\/p>\n<p>\u8fd9\u4e2a\u8bbe\u8ba1\u53ca\u5b9e\u73b0\u53ef\u4ee5\u5728<a href=\"https:\/\/ufqi.com\/dev\/hanjst\/Hanjst.demo.html\"> Hanjst\u7684Demo\u9875\u9762<\/a>\u770b\u5230\u3002<\/p>\n<p>Web\u6a21\u677f\u8bed\u8a00\u53ca\u5176\u89e3\u6790\u5f15\u64ce\u6df1\u5165\u4e0b\u53bb\u624d\u53d1\u73b0\uff0c\u590d\u6742\u800c\u5e9e\u5927\uff0c\u5e0c\u671b\u8fd9\u4e9b\u7ec6\u8282\u7684\u63a2\u7a76\u53ca\u63cf\u8ff0\u53ef\u4ee5\u5e2e\u52a9\u66f4\u591a\u7684\u5f00\u53d1\u4eba\u5458\u7406\u89e3\u5176\u5185\u5e55\uff0c\u4ec5\u4e00\u4e2a{include}\u6307\u4ee4\u7684\u7f16\u8bd1\u5c31\u6d89\u53ca\u90a3\u4e48\u591a\u65b9\u9762\uff0c\u4e00\u4e9b\u4ee5\u73a9\u7968\u5fc3\u6001\u7528\u51e0\u5341\u884c\u4ee3\u7801\u5b9e\u73b0\u4e00\u4e2a\u201c\u8f6e\u5b50\u201d\u7684\u60f3\u6cd5\u53ef\u4ee5\u8003\u8651\u6682\u505c\u4e0b\u6765\u4e86\u3002<\/p>\n<p>Hanjst \u89e3\u6790\u5f15\u64ce\u76ee\u524d\u5df2\u7ecf\u8d85\u8fc7600\u884c\u4ee3\u7801\uff0c\u5305\u62ec\u5f88\u591a\u7c7b\u4f3c\u8fd9\u6837\u7684\u7b97\u4e00\u884c\u7684\u7edf\u8ba1\uff1a<\/p>\n<blockquote>\n<p>var asyncScriptArr = []; var isAsync = false; var srcPos = -1; var endTagPos = -1; \/\/- four lines<br \/>matchStr = match[0]; exprStr = match[1]; \/\/- two lines<br \/>if(exprStr.indexOf(&#8216;=&#8217;) &gt; -1){ containsEqual = true; } \/\/- three lines<\/p>\n<\/blockquote>\n<p>\u6beb\u65e0\u7591\u95ee\uff0c\u968f\u7740 Hanjst \u90e8\u7f72\u7684\u5b9e\u4f8b\u573a\u666f\u8d8a\u591a\u3001\u517c\u5bb9\u7684\u5f02\u5e38\u8d8a\u591a\u3001\u5f15\u5165\u7684\u6a21\u5757\u8d8a\u591a\u548c\u529f\u80fd\u65e5\u8d8b\u5f3a\u5927\uff0c\u5176\u4ee3\u7801\u4f1a\u8d8a\u6765\u8d8a\u957f\u3002<\/p>\n<p>&nbsp;<\/p>\n<hr \/>\n<p>&nbsp;<\/p>\n<p>Hanjst\/\u6c49\u5409\u65af\u7279 \u662f\u4e00\u79cd\u57fa\u4e8eJavaScript\u7684\u6a21\u677f\u8bed\u8a00\u53ca\u89e3\u6790\u5f15\u64ce\uff0c\u5979\u8fd0\u884c\u5728\u5ba2\u6237\u7aef\/\u670d\u52a1\u5668\u7aef\u3002Hanjst\u80fd\u591f\u8868\u8ff0\u903b\u8f91\u63a7\u5236\uff0c\u80fd\u591f\u5b9e\u73b0\u4e0e\u670d\u52a1\u5668\u7aef\u6a21\u5757\u8bed\u8a00\u76f8\u540c\u7684\u529f\u80fd\u3002<\/p>\n<h3><a id=\"user-content-\u7279\u5f81\u529f\u80fd\" class=\"anchor\" href=\"https:\/\/github.com\/wadelau\/Hanjst#%E7%89%B9%E5%BE%81%E5%8A%9F%E8%83%BD\"><\/a>Hanjst\/\u6c49\u5409\u65af\u7279\u7684\u4e3b\u8981\u7279\u5f81\/\u529f\u80fd\u5305\u62ec\uff1a<\/h3>\n<ul>\n<li>\n<p>Hanjst\u5f53\u5b8c\u5168\u5728\u5ba2\u6237\u7aef\u89e3\u6790\u65f6\uff0c\u8282\u7701\u670d\u52a1\u5668\u7aef\u8ba1\u7b97\u8d44\u6e90;<\/p>\n<\/li>\n<li>\n<p>Hanjst\u6a21\u677f\u8bed\u8a00\u72ec\u7acb\uff0c\u4e0d\u4e0e\u670d\u52a1\u5668\u7aef\u8d44\u6e90\u505a\u4efb\u4f55\u7ed1\u5b9a\uff1b<\/p>\n<\/li>\n<li>\n<p>\u7eaf\u7cb9\u7684MVC\uff0c\u5c42\u95f4\u6570\u636e\u7528JSON\u683c\u5f0f\u4f20\u9012\uff1b<\/p>\n<\/li>\n<li>\n<p>\u5e38\u89c1\u6a21\u677f\u8bed\u8a00\u529f\u80fd\u5168\u652f\u6301\uff0c\u9644\u5e26\u590d\u6742\u800c\u5f3a\u5927\u7684JavaScript\u7f16\u7a0b\u80fd\u529b\uff1b<\/p>\n<\/li>\n<li>\n<p>\u65e0\u5b66\u4e60\u6210\u672c\uff0c\u76f4\u63a5\u4f7f\u7528JavaScript\u4e66\u5199\u6a21\u677f\u8bed\u8a00\uff1b<\/p>\n<\/li>\n<li>&#8230;.<\/li>\n<\/ul>\n<hr \/>\n<p>Hanjst \u65b0\u589e\u90e8\u7f72\u5b9e\u4f8b\u53c2\u8003: <br \/><a href=\"https:\/\/ztb.ufqi.com\/?mod=ztb\">-Ufqi-Ztb <\/a>, <br \/>https:\/\/ztb.ufqi.com\/?mod=ztb ,\u00a0<br \/><strong><a href=\"https:\/\/ztb.ufqi.com\/?sid=ufqiblog&amp;mod=ztb\">\u5168\u56fd\u62db\u6295\u6807\u4fe1\u606f\u4e2d\u5fc3<\/a>\u00a0.<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u8fd9\u662f Hanjst\/\u6c49\u5409\u65af\u7279 \u53d1\u5e03\u4ee5\u6765\u7684\u9996\u4e2a\u4e3b\u8981\u5347\u7ea7\u66f4\u65b0\u7248\u672c\u3002\u8fd9\u6b21\u7684\u4e3b\u8981\u5347\u7ea7\u66f4\u65b0 &hellip; <a href=\"https:\/\/ufqi.com\/blog\/hanjst-javascript-runtime\/\">\u7ee7\u7eed\u9605\u8bfb <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[42,301,6,2],"tags":[86,293,152,296,295,294],"_links":{"self":[{"href":"https:\/\/ufqi.com\/blog\/wp-json\/wp\/v2\/posts\/1984"}],"collection":[{"href":"https:\/\/ufqi.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ufqi.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ufqi.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/ufqi.com\/blog\/wp-json\/wp\/v2\/comments?post=1984"}],"version-history":[{"count":12,"href":"https:\/\/ufqi.com\/blog\/wp-json\/wp\/v2\/posts\/1984\/revisions"}],"predecessor-version":[{"id":1996,"href":"https:\/\/ufqi.com\/blog\/wp-json\/wp\/v2\/posts\/1984\/revisions\/1996"}],"wp:attachment":[{"href":"https:\/\/ufqi.com\/blog\/wp-json\/wp\/v2\/media?parent=1984"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ufqi.com\/blog\/wp-json\/wp\/v2\/categories?post=1984"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ufqi.com\/blog\/wp-json\/wp\/v2\/tags?post=1984"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}