Skip to content

Commit

Permalink
Merge pull request #473 from mattboldt/fix_backspace_pause_state
Browse files Browse the repository at this point in the history
Fixes #472. Bump version to 2.0.12.
  • Loading branch information
mattboldt authored Mar 27, 2021
2 parents 646952b + a605c37 commit 337109d
Show file tree
Hide file tree
Showing 10 changed files with 1,944 additions and 1,943 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ bower install typed.js
#### CDN

```html
<script src="https://cdn.jsdelivr.net/npm/[email protected].11"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected].12"></script>
```

#### Setup
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "typed.js",
"version": "2.0.11",
"version": "2.0.12",
"homepage": "https://github.com/mattboldt/typed.js",
"authors": ["Matt Boldt <[email protected]>"],
"description": "A JavaScript Typing Animation Library",
Expand Down
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ gulp.task('html-docs', () => {
{},
{
name: 'Typed.js Docs',
version: '2.0.11'
version: '2.0.12'
}
)
.pipe(gulp.dest('docs'));
Expand Down
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Declaration for typed.js
* Typed.js version: v2.0.11
* Typed.js version: v2.0.12
*/

declare module 'typed.js' {
Expand Down
5 changes: 3 additions & 2 deletions lib/typed.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
*
* typed.js - A JavaScript Typing Animation Library
* Author: Matt Boldt <[email protected]>
* Version: v2.0.11
* Version: v2.0.12
* Url: https://github.com/mattboldt/typed.js
* License(s): MIT
*
Expand Down Expand Up @@ -347,7 +347,7 @@ return /******/ (function(modules) { // webpackBootstrap
var _this4 = this;

if (this.pause.status === true) {
this.setPauseStatus(curString, curStrPos, true);
this.setPauseStatus(curString, curStrPos, false);
return;
}
if (this.fadeOut) return this.initFadeOut();
Expand Down Expand Up @@ -551,6 +551,7 @@ return /******/ (function(modules) { // webpackBootstrap
if (this.cursor) return;
this.cursor = document.createElement('span');
this.cursor.className = 'typed-cursor';
this.cursor.setAttribute('aria-hidden', true);
this.cursor.innerHTML = this.cursorChar;
this.el.parentNode && this.el.parentNode.insertBefore(this.cursor, this.el.nextSibling);
}
Expand Down
4 changes: 2 additions & 2 deletions lib/typed.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/typed.min.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit 337109d

Please sign in to comment.