Deploying to gh-pages from @ harttle/liquidjs@70fdb7af48 🚀

This commit is contained in:
harttle
2021-09-30 16:55:43 +00:00
parent cec0814a9b
commit 9a2a2bfd55
515 changed files with 11719 additions and 9833 deletions
+23 -23
View File
@@ -36,8 +36,8 @@
<link rel="stylesheet" href="../../css/navy.css">
<link rel="alternate" href="../../atom.xml" title="LiquidJS">
</head>
<link rel="alternate" href="../../atom.xml" title="LiquidJS" type="application/atom+xml">
<meta name="generator" content="Hexo 5.4.0"></head>
<body>
<div id="container">
@@ -63,7 +63,7 @@
</select>
</div>
<a href="https://github.com/harttle/liquidjs" target="_blank" rel="noopener external nofollow noreferrer" id="github-link-wrap" class="main-nav-link"><i class="icon-github"></i>Github</a>
<a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs" id="github-link-wrap" class="main-nav-link"><i class="icon-github"></i>Github</a>
<a id="mobile-nav-toggle">
<span class="mobile-nav-toggle-bar"></span>
<span class="mobile-nav-toggle-bar"></span>
@@ -87,7 +87,7 @@
<header class="article-header">
<h1 class="article-title" itemprop="name">Class: Context</h1>
<a href="https://github.com/harttle/liquidjs/issues/new?title=docs:&body=URL: https%3A%2F%2Fliquidjs.com%2Fapi%2Fclasses%2Fcontext_context_.context.html&labels=docs" target="_blank" rel="noopener external nofollow noreferrer" class="article-edit-link" title="Report problems"><i class="icon-chat-bubble-dots"></i></a>
<a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/issues/new?title=docs:&body=URL: https%3A%2F%2Fliquidjs.com%2Fapi%2Fclasses%2Fcontext_context_.context.html&labels=docs" class="article-edit-link" title="Report problems"><i class="icon-chat-bubble-dots"></i></a>
</header>
<div class="article-content" itemprop="articleBody">
@@ -95,7 +95,7 @@
<li><strong>Context</strong></li>
</ul>
<h2 id="Constructors" class="article-heading"><a href="#Constructors" class="headerlink" title="Constructors"></a>Constructors<a class="article-anchor" href="#Constructors" aria-hidden="true"></a></h2><h3 id="constructor-NaN" class="article-heading"><a href="#constructor-NaN" class="headerlink" title="constructor"></a>constructor<a class="article-anchor" href="#constructor-NaN" aria-hidden="true"></a></h3><p>+ <strong>new Context</strong>(<code>env</code>: object, <code>opts</code>: <a href="../interfaces/liquid_options_.normalizedfulloptions.html">NormalizedFullOptions</a>, <code>sync</code>: boolean): <em><a href="context_context_.context.html">Context</a></em></p>
<p><em>Defined in <a href="https://github.com/harttle/liquidjs/blob/master/src/context/context.ts#L14" target="_blank" rel="noopener external nofollow noreferrer">context/context.ts:14</a></em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/context/context.ts#L14">context/context.ts:14</a></em></p>
<p><strong>Parameters:</strong></p>
<table>
<thead>
@@ -123,28 +123,28 @@
</tbody></table>
<p><strong>Returns:</strong> <em><a href="context_context_.context.html">Context</a></em></p>
<h2 id="Properties" class="article-heading"><a href="#Properties" class="headerlink" title="Properties"></a>Properties<a class="article-anchor" href="#Properties" aria-hidden="true"></a></h2><h3 id="environments" class="article-heading"><a href="#environments" class="headerlink" title="environments"></a>environments<a class="article-anchor" href="#environments" aria-hidden="true"></a></h3><p><strong>environments</strong>: <em><a href="../modules/context_scope_.html#scope">Scope</a></em></p>
<p><em>Defined in <a href="https://github.com/harttle/liquidjs/blob/master/src/context/context.ts#L11" target="_blank" rel="noopener external nofollow noreferrer">context/context.ts:11</a></em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/context/context.ts#L11">context/context.ts:11</a></em></p>
<hr>
<h3 id="globals" class="article-heading"><a href="#globals" class="headerlink" title="globals"></a>globals<a class="article-anchor" href="#globals" aria-hidden="true"></a></h3><p><strong>globals</strong>: <em><a href="../modules/context_scope_.html#scope">Scope</a></em></p>
<p><em>Defined in <a href="https://github.com/harttle/liquidjs/blob/master/src/context/context.ts#L12" target="_blank" rel="noopener external nofollow noreferrer">context/context.ts:12</a></em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/context/context.ts#L12">context/context.ts:12</a></em></p>
<hr>
<h3 id="opts" class="article-heading"><a href="#opts" class="headerlink" title="opts"></a>opts<a class="article-anchor" href="#opts" aria-hidden="true"></a></h3><p><strong>opts</strong>: <em><a href="../interfaces/liquid_options_.normalizedfulloptions.html">NormalizedFullOptions</a></em></p>
<p><em>Defined in <a href="https://github.com/harttle/liquidjs/blob/master/src/context/context.ts#L14" target="_blank" rel="noopener external nofollow noreferrer">context/context.ts:14</a></em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/context/context.ts#L14">context/context.ts:14</a></em></p>
<hr>
<h3 id="Private-registers" class="article-heading"><a href="#Private-registers" class="headerlink" title="Private registers"></a><code>Private</code> registers<a class="article-anchor" href="#Private-registers" aria-hidden="true"></a></h3><p><strong>registers</strong>: <em>object</em></p>
<p><em>Defined in <a href="https://github.com/harttle/liquidjs/blob/master/src/context/context.ts#L10" target="_blank" rel="noopener external nofollow noreferrer">context/context.ts:10</a></em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/context/context.ts#L10">context/context.ts:10</a></em></p>
<h4 id="Type-declaration" class="article-heading"><a href="#Type-declaration" class="headerlink" title="Type declaration:"></a>Type declaration:<a class="article-anchor" href="#Type-declaration" aria-hidden="true"></a></h4><hr>
<h3 id="Private-scopes" class="article-heading"><a href="#Private-scopes" class="headerlink" title="Private scopes"></a><code>Private</code> scopes<a class="article-anchor" href="#Private-scopes" aria-hidden="true"></a></h3><p><strong>scopes</strong>: <em><a href="../modules/context_scope_.html#scope">Scope</a>[]</em> = [{}]</p>
<p><em>Defined in <a href="https://github.com/harttle/liquidjs/blob/master/src/context/context.ts#L9" target="_blank" rel="noopener external nofollow noreferrer">context/context.ts:9</a></em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/context/context.ts#L9">context/context.ts:9</a></em></p>
<hr>
<h3 id="sync" class="article-heading"><a href="#sync" class="headerlink" title="sync"></a>sync<a class="article-anchor" href="#sync" aria-hidden="true"></a></h3><p><strong>sync</strong>: <em>boolean</em></p>
<p><em>Defined in <a href="https://github.com/harttle/liquidjs/blob/master/src/context/context.ts#L13" target="_blank" rel="noopener external nofollow noreferrer">context/context.ts:13</a></em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/context/context.ts#L13">context/context.ts:13</a></em></p>
<h2 id="Methods" class="article-heading"><a href="#Methods" class="headerlink" title="Methods"></a>Methods<a class="article-anchor" href="#Methods" aria-hidden="true"></a></h2><h3 id="bottom" class="article-heading"><a href="#bottom" class="headerlink" title="bottom"></a>bottom<a class="article-anchor" href="#bottom" aria-hidden="true"></a></h3><p><strong>bottom</strong>(): <em><a href="../interfaces/context_scope_.plainobject.html">PlainObject</a> | <a href="drop_drop_.drop.html">Drop</a></em></p>
<p><em>Defined in <a href="https://github.com/harttle/liquidjs/blob/master/src/context/context.ts#L57" target="_blank" rel="noopener external nofollow noreferrer">context/context.ts:57</a></em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/context/context.ts#L57">context/context.ts:57</a></em></p>
<p><strong>Returns:</strong> <em><a href="../interfaces/context_scope_.plainobject.html">PlainObject</a> | <a href="drop_drop_.drop.html">Drop</a></em></p>
<hr>
<h3 id="Private-findScope" class="article-heading"><a href="#Private-findScope" class="headerlink" title="Private findScope"></a><code>Private</code> findScope<a class="article-anchor" href="#Private-findScope" aria-hidden="true"></a></h3><p><strong>findScope</strong>(<code>key</code>: string): <em><a href="../interfaces/context_scope_.plainobject.html">PlainObject</a> | <a href="drop_drop_.drop.html">Drop</a></em></p>
<p><em>Defined in <a href="https://github.com/harttle/liquidjs/blob/master/src/context/context.ts#L60" target="_blank" rel="noopener external nofollow noreferrer">context/context.ts:60</a></em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/context/context.ts#L60">context/context.ts:60</a></em></p>
<p><strong>Parameters:</strong></p>
<table>
<thead>
@@ -161,7 +161,7 @@
<p><strong>Returns:</strong> <em><a href="../interfaces/context_scope_.plainobject.html">PlainObject</a> | <a href="drop_drop_.drop.html">Drop</a></em></p>
<hr>
<h3 id="get" class="article-heading"><a href="#get" class="headerlink" title="get"></a>get<a class="article-anchor" href="#get" aria-hidden="true"></a></h3><p><strong>get</strong>(<code>paths</code>: string[]): <em>object</em></p>
<p><em>Defined in <a href="https://github.com/harttle/liquidjs/blob/master/src/context/context.ts#L37" target="_blank" rel="noopener external nofollow noreferrer">context/context.ts:37</a></em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/context/context.ts#L37">context/context.ts:37</a></em></p>
<p><strong>Parameters:</strong></p>
<table>
<thead>
@@ -178,11 +178,11 @@
<p><strong>Returns:</strong> <em>object</em></p>
<hr>
<h3 id="getAll" class="article-heading"><a href="#getAll" class="headerlink" title="getAll"></a>getAll<a class="article-anchor" href="#getAll" aria-hidden="true"></a></h3><p><strong>getAll</strong>(): <em><a href="../interfaces/context_scope_.plainobject.html">PlainObject</a> | <a href="drop_drop_.drop.html">Drop</a></em></p>
<p><em>Defined in <a href="https://github.com/harttle/liquidjs/blob/master/src/context/context.ts#L33" target="_blank" rel="noopener external nofollow noreferrer">context/context.ts:33</a></em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/context/context.ts#L33">context/context.ts:33</a></em></p>
<p><strong>Returns:</strong> <em><a href="../interfaces/context_scope_.plainobject.html">PlainObject</a> | <a href="drop_drop_.drop.html">Drop</a></em></p>
<hr>
<h3 id="getFromScope" class="article-heading"><a href="#getFromScope" class="headerlink" title="getFromScope"></a>getFromScope<a class="article-anchor" href="#getFromScope" aria-hidden="true"></a></h3><p><strong>getFromScope</strong>(<code>scope</code>: object, <code>paths</code>: string[] | string): <em>object</em></p>
<p><em>Defined in <a href="https://github.com/harttle/liquidjs/blob/master/src/context/context.ts#L41" target="_blank" rel="noopener external nofollow noreferrer">context/context.ts:41</a></em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/context/context.ts#L41">context/context.ts:41</a></em></p>
<p><strong>Parameters:</strong></p>
<table>
<thead>
@@ -203,7 +203,7 @@
<p><strong>Returns:</strong> <em>object</em></p>
<hr>
<h3 id="getRegister" class="article-heading"><a href="#getRegister" class="headerlink" title="getRegister"></a>getRegister<a class="article-anchor" href="#getRegister" aria-hidden="true"></a></h3><p><strong>getRegister</strong>(<code>key</code>: string, <code>defaultValue</code>: object): <em>any</em></p>
<p><em>Defined in <a href="https://github.com/harttle/liquidjs/blob/master/src/context/context.ts#L21" target="_blank" rel="noopener external nofollow noreferrer">context/context.ts:21</a></em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/context/context.ts#L21">context/context.ts:21</a></em></p>
<p><strong>Parameters:</strong></p>
<table>
<thead>
@@ -227,11 +227,11 @@
<p><strong>Returns:</strong> <em>any</em></p>
<hr>
<h3 id="pop" class="article-heading"><a href="#pop" class="headerlink" title="pop"></a>pop<a class="article-anchor" href="#pop" aria-hidden="true"></a></h3><p><strong>pop</strong>(): <em>undefined | <a href="../interfaces/context_scope_.plainobject.html">PlainObject</a> | <a href="drop_drop_.drop.html">Drop</a></em></p>
<p><em>Defined in <a href="https://github.com/harttle/liquidjs/blob/master/src/context/context.ts#L54" target="_blank" rel="noopener external nofollow noreferrer">context/context.ts:54</a></em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/context/context.ts#L54">context/context.ts:54</a></em></p>
<p><strong>Returns:</strong> <em>undefined | <a href="../interfaces/context_scope_.plainobject.html">PlainObject</a> | <a href="drop_drop_.drop.html">Drop</a></em></p>
<hr>
<h3 id="push" class="article-heading"><a href="#push" class="headerlink" title="push"></a>push<a class="article-anchor" href="#push" aria-hidden="true"></a></h3><p><strong>push</strong>(<code>ctx</code>: object): <em>number</em></p>
<p><em>Defined in <a href="https://github.com/harttle/liquidjs/blob/master/src/context/context.ts#L51" target="_blank" rel="noopener external nofollow noreferrer">context/context.ts:51</a></em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/context/context.ts#L51">context/context.ts:51</a></em></p>
<p><strong>Parameters:</strong></p>
<table>
<thead>
@@ -248,7 +248,7 @@
<p><strong>Returns:</strong> <em>number</em></p>
<hr>
<h3 id="restoreRegister" class="article-heading"><a href="#restoreRegister" class="headerlink" title="restoreRegister"></a>restoreRegister<a class="article-anchor" href="#restoreRegister" aria-hidden="true"></a></h3><p><strong>restoreRegister</strong>(<code>keyValues</code>: [string, any][]): <em>void</em></p>
<p><em>Defined in <a href="https://github.com/harttle/liquidjs/blob/master/src/context/context.ts#L30" target="_blank" rel="noopener external nofollow noreferrer">context/context.ts:30</a></em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/context/context.ts#L30">context/context.ts:30</a></em></p>
<p><strong>Parameters:</strong></p>
<table>
<thead>
@@ -265,7 +265,7 @@
<p><strong>Returns:</strong> <em>void</em></p>
<hr>
<h3 id="saveRegister" class="article-heading"><a href="#saveRegister" class="headerlink" title="saveRegister"></a>saveRegister<a class="article-anchor" href="#saveRegister" aria-hidden="true"></a></h3><p><strong>saveRegister</strong>(…<code>keys</code>: string[]): <em>[string, any][]</em></p>
<p><em>Defined in <a href="https://github.com/harttle/liquidjs/blob/master/src/context/context.ts#L27" target="_blank" rel="noopener external nofollow noreferrer">context/context.ts:27</a></em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/context/context.ts#L27">context/context.ts:27</a></em></p>
<p><strong>Parameters:</strong></p>
<table>
<thead>
@@ -282,7 +282,7 @@
<p><strong>Returns:</strong> <em>[string, any][]</em></p>
<hr>
<h3 id="setRegister" class="article-heading"><a href="#setRegister" class="headerlink" title="setRegister"></a>setRegister<a class="article-anchor" href="#setRegister" aria-hidden="true"></a></h3><p><strong>setRegister</strong>(<code>key</code>: string, <code>value</code>: any): <em>any</em></p>
<p><em>Defined in <a href="https://github.com/harttle/liquidjs/blob/master/src/context/context.ts#L24" target="_blank" rel="noopener external nofollow noreferrer">context/context.ts:24</a></em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/context/context.ts#L24">context/context.ts:24</a></em></p>
<p><strong>Parameters:</strong></p>
<table>
<thead>
@@ -304,7 +304,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2021-09-26T12:45:49.154Z" itemprop="dateModified">Last updated: 2021-09-26</time>
<time class="article-footer-updated" datetime="2021-09-30T16:55:14.022Z" itemprop="dateModified">Last updated: 2021-09-30</time>
<a href="../classes/liquid_.liquid.html" class="article-footer-next" title="sidebar.api.Liquid"><span>Next</span><i class="icon-chevron-right"></i></a>
</footer>
</div>