mirror of
https://github.com/fofolee/uTools-Manuals.git
synced 2025-12-20 18:45:52 +08:00
语法高亮,滚动条美化,设置页面调整
This commit is contained in:
@@ -145,7 +145,7 @@
|
||||
<li>使用 <code>SimplePropertyRetriever.theGetMethodYouWant(obj).indexOf(prop) > -1</code> 时将发生判断操作。</li>
|
||||
<li>使用 <code>SimplePropertyRetriever.theGetMethodYouWant(obj).forEach(function (value, prop) {});</code> 时将发生迭代操作。 (或使用 <code>filter()</code>、<code>map()</code> 等方法)</li>
|
||||
</ul>
|
||||
<pre class="brush: js">var SimplePropertyRetriever = {
|
||||
<pre><code class="language-javascript">var SimplePropertyRetriever = {
|
||||
getOwnEnumerables: function(obj) {
|
||||
return this._getPropertyNames(obj, true, false, this._enumerable);
|
||||
// Or could use for..in filtered with hasOwnProperty or just this: return Object.keys(obj);
|
||||
@@ -206,7 +206,7 @@
|
||||
|
||||
return props;
|
||||
}
|
||||
};</pre>
|
||||
};</code></pre>
|
||||
<h2 id="统计表">统计表</h2>
|
||||
<div style="width: 100%; overflow: auto;">
|
||||
<table>
|
||||
|
||||
Reference in New Issue
Block a user