-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix type declaration and bump version
- Loading branch information
Showing
10 changed files
with
141 additions
and
149 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ Typed.js is a library that types. Enter in any string, and watch it type at the | |
### CDN | ||
|
||
```html | ||
<script src="https://unpkg.com/[email protected].132/dist/typed.umd.js"></script> | ||
<script src="https://unpkg.com/[email protected].14/dist/typed.umd.js"></script> | ||
``` | ||
|
||
For use directly in the browser via `<script>` tag: | ||
|
@@ -26,7 +26,7 @@ For use directly in the browser via `<script>` tag: | |
<span id="element"></span> | ||
|
||
<!-- Load library from the CDN --> | ||
<script src="https://unpkg.com/[email protected].132/dist/typed.umd.js"></script> | ||
<script src="https://unpkg.com/[email protected].14/dist/typed.umd.js"></script> | ||
|
||
<!-- Setup and start animation! --> | ||
<script> | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -170,7 +170,7 @@ <h4 id="yarn">Yarn</h4> | |
<pre><code><code class="source-code prettyprint">yarn add typed.js</code> | ||
</code></pre> | ||
<h4 id="cdn">CDN</h4> | ||
<pre><code class="lang-html"><code class="source-code prettyprint"><script src="https://cdn.jsdelivr.net/npm/[email protected].132"></script></code> | ||
<pre><code class="lang-html"><code class="source-code prettyprint"><script src="https://cdn.jsdelivr.net/npm/[email protected].14"></script></code> | ||
</code></pre> | ||
<h4 id="setup">Setup</h4> | ||
<p>This is really all you need to get going.</p> | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -26,12 +26,12 @@ <h1 class="title">Typed.js</h1> | |
<h2 id="basic">Basic Demo</h2> | ||
<div class="type-wrap"> | ||
<div id="typed-strings"> | ||
<span>Typed.js^10 is a <strong>JavaScript</strong> library.</span> | ||
<p>It <em>types</em> out sentences.</p> | ||
<p>`And` `then` `deletes` `them`.</p> | ||
<p>Try it out!</p> | ||
<span>Typed.js^500 is a <strong>JavaScript</strong> library.</span> | ||
<span>It <em>types</em> out sentences.</span> | ||
<span>`And` `then` `deletes` `them`.</span> | ||
<span>Try it out!</span> | ||
</div> | ||
<span id="typed" style="white-space: pre"></span> | ||
<span id="typed" style="white-space: pre">some text</span> | ||
</div> | ||
<button class="toggle">Toggle</button> | ||
<button class="start">Start</button> | ||
|
@@ -181,7 +181,8 @@ <h2 id="bulk">Bulk Typing</h2> | |
})(); | ||
</script> | ||
|
||
<script src="https://unpkg.com/[email protected]/dist/typed.umd.js"></script> | ||
<!-- <script src="https://unpkg.com/[email protected]/dist/typed.umd.js"></script> --> | ||
<script src="dist/typed.umd.js"></script> | ||
<script src="assets/demos.js"></script> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js"></script> | ||
<script> | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.