-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d608b63
commit 8724bf9
Showing
4 changed files
with
10 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -66,8 +66,8 @@ require('typeahead-standalone/dist/basic.css'); | |
<script src="https://cdn.jsdelivr.net/npm/typeahead-standalone"></script> | ||
|
||
<!-- or use unpkg.com to get a specific version --> | ||
<link rel="stylesheet" href="https://unpkg.com/[email protected].1/dist/basic.css" /> | ||
<script src="https://unpkg.com/[email protected].1/dist/typeahead-standalone.umd.js"></script> | ||
<link rel="stylesheet" href="https://unpkg.com/[email protected].2/dist/basic.css" /> | ||
<script src="https://unpkg.com/[email protected].2/dist/typeahead-standalone.umd.js"></script> | ||
``` | ||
The library will be available as a global object at **`window.typeahead`** | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -82,7 +82,7 @@ <h4><a href="#install?id=cdn" id="cdn" title="Install typeahead-standalone.js vi | |
<p>The above links, by default, point to the latest version of typeahead-standalone.js</p> | ||
</div> | ||
<div class="tab-pane fade" id="nav-unpkg" role="tabpanel" aria-labelledby="nav-unpkg-tab"> | ||
<a class="simple-link" href="https://unpkg.com/[email protected].1/dist/typeahead-standalone.umd.js"> | ||
<a class="simple-link" href="https://unpkg.com/[email protected].2/dist/typeahead-standalone.umd.js"> | ||
<img src="./assets/img/logos/unpkg_logo.png" alt="Unpkg typeahead-standalone CDN Logo" width="100px"> | ||
</a> | ||
|
||
|
@@ -91,14 +91,14 @@ <h4><a href="#install?id=cdn" id="cdn" title="Install typeahead-standalone.js vi | |
<span class="lang">HTML</span> | ||
<span class="copy" title="Copy to Clipboard"><i class="far fa-copy"></i></span> | ||
<pre | ||
class="hljs language-html language-xml"><script src="https://unpkg.com/[email protected].1/dist/typeahead-standalone.umd.js"></script></pre> | ||
class="hljs language-html language-xml"><script src="https://unpkg.com/[email protected].2/dist/typeahead-standalone.umd.js"></script></pre> | ||
</div> | ||
<p>Include the <code>CSS</code> (Optional, we recommend to override the default styling)</p> | ||
<div class="codeContainer"> | ||
<span class="lang">HTML</span> | ||
<span class="copy" title="Copy to Clipboard"><i class="far fa-copy"></i></span> | ||
<pre | ||
class="hljs language-html language-xml"><link rel="stylesheet" href="https://unpkg.com/[email protected].1/dist/basic.css" /></pre> | ||
class="hljs language-html language-xml"><link rel="stylesheet" href="https://unpkg.com/[email protected].2/dist/basic.css" /></pre> | ||
</div> | ||
<p>The above links can be used to link to a specific version of typeahead-standalone.js</p> | ||
</div> | ||
|
@@ -115,10 +115,10 @@ <h4><a href="#install?id=direct-download" id="direct-download" title="Install ty | |
|
||
<div class="codeContainer"> | ||
<span class="copy" title="Copy to Clipboard"><i class="far fa-copy"></i></span> | ||
<pre class="hljs">https://registry.npmjs.org/typeahead-standalone/-/typeahead-standalone-5.3.1.tgz</pre> | ||
<pre class="hljs">https://registry.npmjs.org/typeahead-standalone/-/typeahead-standalone-5.3.2.tgz</pre> | ||
</div> | ||
|
||
where <code>5.3.1</code> refers to the version number. To use another version, replace the version in the above url by | ||
where <code>5.3.2</code> refers to the version number. To use another version, replace the version in the above url by | ||
the desired version. | ||
All available versions/releases are listed on <a href="https://github.com/digitalfortress-tech/typeahead-standalone/releases">github</a>. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters