Deploy website

Deploy website version based on 1233be1289adb6c48ad8e7ad1688077feef92e81
This commit is contained in:
Website Deployment Script
2018-11-20 00:44:00 +00:00
parent bb08c46ff4
commit c7b8fceb8d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -121,7 +121,7 @@ StyleSheet<span class="token punctuation">.</span><span class="token function">f
<span class="token punctuation">}</span><span class="token punctuation">)</span><span class="token punctuation">;</span>
StyleSheet<span class="token punctuation">.</span><span class="token function">flatten</span><span class="token punctuation">(</span>styles<span class="token punctuation">.</span>listItem<span class="token punctuation">)</span><span class="token punctuation">;</span>
<span class="token comment">// return { flex: 1, fontSize: 16, color: 'white' }</span>
<span class="token comment">// returns { flex: 1, fontSize: 16, color: 'white' }</span>
<span class="token comment">// Simply styles.listItem would return its ID (number)</span>
</code></pre>
<p>This method internally uses <code>StyleSheetRegistry.getStyleByID(style)</code> to resolve style objects represented by IDs. Thus, an array of style objects (instances of <code>StyleSheet.create()</code>), are individually resolved to, their respective objects, merged as one and then returned. This also explains the alternative use.</p>
+1 -1
View File
@@ -121,7 +121,7 @@ StyleSheet<span class="token punctuation">.</span><span class="token function">f
<span class="token punctuation">}</span><span class="token punctuation">)</span><span class="token punctuation">;</span>
StyleSheet<span class="token punctuation">.</span><span class="token function">flatten</span><span class="token punctuation">(</span>styles<span class="token punctuation">.</span>listItem<span class="token punctuation">)</span><span class="token punctuation">;</span>
<span class="token comment">// return { flex: 1, fontSize: 16, color: 'white' }</span>
<span class="token comment">// returns { flex: 1, fontSize: 16, color: 'white' }</span>
<span class="token comment">// Simply styles.listItem would return its ID (number)</span>
</code></pre>
<p>This method internally uses <code>StyleSheetRegistry.getStyleByID(style)</code> to resolve style objects represented by IDs. Thus, an array of style objects (instances of <code>StyleSheet.create()</code>), are individually resolved to, their respective objects, merged as one and then returned. This also explains the alternative use.</p>