Skip to content

Commit

Permalink
Merge branch 'feature/LF2919/update-docs-to-lhcforms-static' into 'gh…
Browse files Browse the repository at this point in the history
…-pages'

update docs to use lhcforms-static

See merge request lfor/autocomplete-lhc!167
  • Loading branch information
jcy1225 committed Apr 9, 2024
2 parents 84bcd34 + c5a12b9 commit 1f311ce
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion demos/demo1.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<input type="text" id="demo1">
<script>
var dessertArray = ['Chocoloate bar', 'Chocolate ice cream',
var dessertArray = ['Chocolate bar', 'Chocolate ice cream',
'Vanilla ice cream', 'Brownie', 'Fudge Brownie', 'Double Fudge Brownie',
'Fudge'].sort();
new Def.Autocompleter.Prefetch('demo1', dessertArray);
Expand Down
2 changes: 1 addition & 1 deletion demos/demo4.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<input type="text" id="demo4">
<script>
var moreDesserts = ['Chocoloate bar', 'Chocolate ice cream',
var moreDesserts = ['Chocolate bar', 'Chocolate ice cream',
'Vanilla ice cream', 'Brownie', 'Fudge brownie', 'Double fudge brownie',
'Fudge', 'Chocolate cake', 'Chocolate mousse', 'Watermelon',
'Chocolate chip cookies', 'Brownie-stuffed cookie'].sort();
Expand Down
2 changes: 1 addition & 1 deletion demos/demo5.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<input type="text" id="demo5">
<script>
var evenMoreDesserts = ['Chocoloate bar', 'Chocolate ice cream',
var evenMoreDesserts = ['Chocolate bar', 'Chocolate ice cream',
'Vanilla ice cream', 'Brownie', 'Fudge brownie', 'Double fudge brownie',
'Fudge', 'Chocolate cake', 'Chocolate mousse', 'Watermelon',
'Chocolate chip cookies', 'Brownie-stuffed cookie', 'Cannoli',
Expand Down
24 changes: 12 additions & 12 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -81,14 +81,14 @@ <h2><a id="demos"></a>A Few Demos</h2>
src="https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js"></script>
<div class="demo"><input type="text" id="demo1">
<script>
var dessertArray = ['Chocoloate bar', 'Chocolate ice cream',
var dessertArray = ['Chocolate bar', 'Chocolate ice cream',
'Vanilla ice cream', 'Brownie', 'Fudge Brownie', 'Double Fudge Brownie',
'Fudge'].sort();
new Def.Autocompleter.Prefetch('demo1', dessertArray);
</script>
</div><div> <a class="showSource">[Show source]</a> <div style="display:none"> <pre class="prettyprint lang-html" ><code>&lt;input type=&quot;text&quot; id=&quot;demo1&quot;&gt;
&lt;script&gt;
var dessertArray = [&#39;Chocoloate bar&#39;, &#39;Chocolate ice cream&#39;,
var dessertArray = [&#39;Chocolate bar&#39;, &#39;Chocolate ice cream&#39;,
&#39;Vanilla ice cream&#39;, &#39;Brownie&#39;, &#39;Fudge Brownie&#39;, &#39;Double Fudge Brownie&#39;,
&#39;Fudge&#39;].sort();
new Def.Autocompleter.Prefetch(&#39;demo1&#39;, dessertArray);
Expand Down Expand Up @@ -125,15 +125,15 @@ <h2><a id="demos"></a>A Few Demos</h2>
and flow into two columns:
<div class="demo"><input type="text" id="demo4">
<script>
var moreDesserts = ['Chocoloate bar', 'Chocolate ice cream',
var moreDesserts = ['Chocolate bar', 'Chocolate ice cream',
'Vanilla ice cream', 'Brownie', 'Fudge brownie', 'Double fudge brownie',
'Fudge', 'Chocolate cake', 'Chocolate mousse', 'Watermelon',
'Chocolate chip cookies', 'Brownie-stuffed cookie'].sort();
new Def.Autocompleter.Prefetch('demo4', moreDesserts);
</script>
</div><div> <a class="showSource">[Show source]</a> <div style="display:none"> <pre class="prettyprint lang-html" ><code>&lt;input type=&quot;text&quot; id=&quot;demo4&quot;&gt;
&lt;script&gt;
var moreDesserts = [&#39;Chocoloate bar&#39;, &#39;Chocolate ice cream&#39;,
var moreDesserts = [&#39;Chocolate bar&#39;, &#39;Chocolate ice cream&#39;,
&#39;Vanilla ice cream&#39;, &#39;Brownie&#39;, &#39;Fudge brownie&#39;, &#39;Double fudge brownie&#39;,
&#39;Fudge&#39;, &#39;Chocolate cake&#39;, &#39;Chocolate mousse&#39;, &#39;Watermelon&#39;,
&#39;Chocolate chip cookies&#39;, &#39;Brownie-stuffed cookie&#39;].sort();
Expand All @@ -144,7 +144,7 @@ <h2><a id="demos"></a>A Few Demos</h2>
Larger lists show a subset and have a "see more" link:
<div class="demo"><input type="text" id="demo5">
<script>
var evenMoreDesserts = ['Chocoloate bar', 'Chocolate ice cream',
var evenMoreDesserts = ['Chocolate bar', 'Chocolate ice cream',
'Vanilla ice cream', 'Brownie', 'Fudge brownie', 'Double fudge brownie',
'Fudge', 'Chocolate cake', 'Chocolate mousse', 'Watermelon',
'Chocolate chip cookies', 'Brownie-stuffed cookie', 'Cannoli',
Expand All @@ -154,7 +154,7 @@ <h2><a id="demos"></a>A Few Demos</h2>
</script>
</div><div> <a class="showSource">[Show source]</a> <div style="display:none"> <pre class="prettyprint lang-html" ><code>&lt;input type=&quot;text&quot; id=&quot;demo5&quot;&gt;
&lt;script&gt;
var evenMoreDesserts = [&#39;Chocoloate bar&#39;, &#39;Chocolate ice cream&#39;,
var evenMoreDesserts = [&#39;Chocolate bar&#39;, &#39;Chocolate ice cream&#39;,
&#39;Vanilla ice cream&#39;, &#39;Brownie&#39;, &#39;Fudge brownie&#39;, &#39;Double fudge brownie&#39;,
&#39;Fudge&#39;, &#39;Chocolate cake&#39;, &#39;Chocolate mousse&#39;, &#39;Watermelon&#39;,
&#39;Chocolate chip cookies&#39;, &#39;Brownie-stuffed cookie&#39;, &#39;Cannoli&#39;,
Expand Down Expand Up @@ -295,10 +295,10 @@ <h2><a id="demos"></a>A Few Demos</h2>
Some complete HTML page examples hosted on Plunker:
<ul>
<li><a href=
"https://embed.plnkr.co/vNrfMHdLRA9zjd0lk5MM?show=index.html,preview&sidebar=false"
"https://embed.plnkr.co/plunk/w2d2dKDUT3JxwEHq?show=index.html,preview&sidebar=false"
>Medical condition lookup</a> showing how to obtain the ICD-9 code</li>
<li><a href=
"https://embed.plnkr.co/ribBnsyc3senibgXrRlg?show=index.html,preview&sidebar=false"
"https://embed.plnkr.co/plunk/kyO192Owldf2Kze2?show=index.html,preview&sidebar=false"
>Drug name lookup</a> with a strength list and an RxCUI code field</li>
</ul>

Expand Down Expand Up @@ -351,7 +351,7 @@ <h2><a id="installation"></a>Installation:</h2>
Search Service website. (See "<a href="#prebuiltFiles">Using the Hosted
Browser-Ready Releases"</a> below).</li>
<li>Downloading the <a
href="https://clinicaltables.nlm.nih.gov/autocomplete-lhc-versions/">latest
href="https://lhcforms-static.nlm.nih.gov/autocomplete-lhc-versions/">latest
release</a> from the release zip files
hosted the Clinical Table Search Service website.</li>
<li>Using <a href="https://www.npmjs.com/">npm</a>: <code>npm install
Expand All @@ -375,14 +375,14 @@ <h3><a id="prebuiltFiles"></a>Using the Hosted Browser-Ready Releases</h3>
&lt;!-- example CDN-- you may choose another source --&gt;
<br>
&lt;script
src=https://clinicaltables.nlm.nih.gov/autocomplete-lhc-versions/17.0.3/autocomplete-lhc.min.js&gt;&lt;/script&gt;</code>
src=https://lhcforms-static.nlm.nih.gov/autocomplete-lhc-versions/17.0.3/autocomplete-lhc.min.js&gt;&lt;/script&gt;</code>

<p>(Note that you can substitute for "17.0.3" one of the other prebuilt versions
available at https://clinicaltables.nlm.nih.gov/autocomplete-lhc-versions).</p>
available at https://lhcforms-static.nlm.nih.gov/autocomplete-lhc-versions).</p>

<p>For the CSS, include:</p>
<code>&lt;link
href="https://clinicaltables.nlm.nih.gov/autocomplete-lhc-versions/17.0.3/autocomplete-lhc.min.css"
href="https://lhcforms-static.nlm.nih.gov/autocomplete-lhc-versions/17.0.3/autocomplete-lhc.min.css"
rel="stylesheet" /&gt;</code>


Expand Down
12 changes: 6 additions & 6 deletions ssi_templates/indexPreMin.html
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,10 @@ <h2><a id="demos"></a>A Few Demos</h2>
Some complete HTML page examples hosted on Plunker:
<ul>
<li><a href=
"https://embed.plnkr.co/vNrfMHdLRA9zjd0lk5MM?show=index.html,preview&sidebar=false"
"https://embed.plnkr.co/plunk/w2d2dKDUT3JxwEHq?show=index.html,preview&sidebar=false"
>Medical condition lookup</a> showing how to obtain the ICD-9 code</li>
<li><a href=
"https://embed.plnkr.co/ribBnsyc3senibgXrRlg?show=index.html,preview&sidebar=false"
"https://embed.plnkr.co/plunk/kyO192Owldf2Kze2?show=index.html,preview&sidebar=false"
>Drug name lookup</a> with a strength list and an RxCUI code field</li>
</ul>

Expand Down Expand Up @@ -129,7 +129,7 @@ <h2><a id="installation"></a>Installation:</h2>
Search Service website. (See "<a href="#prebuiltFiles">Using the Hosted
Browser-Ready Releases"</a> below).</li>
<li>Downloading the <a
href="https://clinicaltables.nlm.nih.gov/autocomplete-lhc-versions/">latest
href="https://lhcforms-static.nlm.nih.gov/autocomplete-lhc-versions/">latest
release</a> from the release zip files
hosted the Clinical Table Search Service website.</li>
<li>Using <a href="https://www.npmjs.com/">npm</a>: <code>npm install
Expand All @@ -153,14 +153,14 @@ <h3><a id="prebuiltFiles"></a>Using the Hosted Browser-Ready Releases</h3>
&lt;!-- example CDN-- you may choose another source --&gt;
<br>
&lt;script
src=https://clinicaltables.nlm.nih.gov/autocomplete-lhc-versions/17.0.3/autocomplete-lhc.min.js&gt;&lt;/script&gt;</code>
src=https://lhcforms-static.nlm.nih.gov/autocomplete-lhc-versions/17.0.3/autocomplete-lhc.min.js&gt;&lt;/script&gt;</code>

<p>(Note that you can substitute for "17.0.3" one of the other prebuilt versions
available at https://clinicaltables.nlm.nih.gov/autocomplete-lhc-versions).</p>
available at https://lhcforms-static.nlm.nih.gov/autocomplete-lhc-versions).</p>

<p>For the CSS, include:</p>
<code>&lt;link
href="https://clinicaltables.nlm.nih.gov/autocomplete-lhc-versions/17.0.3/autocomplete-lhc.min.css"
href="https://lhcforms-static.nlm.nih.gov/autocomplete-lhc-versions/17.0.3/autocomplete-lhc.min.css"
rel="stylesheet" /&gt;</code>


Expand Down

0 comments on commit 1f311ce

Please sign in to comment.