Skip to content

Commit

Permalink
v0.8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
chanind committed Feb 25, 2018
1 parent 1244030 commit 030b7e2
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 11 deletions.
9 changes: 6 additions & 3 deletions dist/hanzi-writer-lib.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Hanzi Writer v0.8.0
* Hanzi Writer v0.8.1
* https://chanind.github.io/hanzi-writer
*/
module.exports =
Expand Down Expand Up @@ -1713,9 +1713,12 @@ var _require = __webpack_require__(0),
objRepeat = _require.objRepeat;

var startQuiz = function startQuiz(character, fadeDuration) {
return characterActions.hideCharacter('main', character, fadeDuration).concat([new Mutation('character.main', {
return characterActions.hideCharacter('main', character, fadeDuration).concat([new Mutation('character.highlight', {
opacity: 1,
strokes: objRepeat({ opacity: 0 }, character.strokes.length)
strokes: objRepeat({ opacity: 0, force: true }, character.strokes.length)
}), new Mutation('character.main', {
opacity: 1,
strokes: objRepeat({ opacity: 0, force: true }, character.strokes.length)
})]);
};

Expand Down
4 changes: 2 additions & 2 deletions dist/hanzi-writer-lib.min.js

Large diffs are not rendered by default.

9 changes: 6 additions & 3 deletions dist/hanzi-writer.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Hanzi Writer v0.8.0
* Hanzi Writer v0.8.1
* https://chanind.github.io/hanzi-writer
*/
/******/ (function(modules) { // webpackBootstrap
Expand Down Expand Up @@ -1712,9 +1712,12 @@ var _require = __webpack_require__(0),
objRepeat = _require.objRepeat;

var startQuiz = function startQuiz(character, fadeDuration) {
return characterActions.hideCharacter('main', character, fadeDuration).concat([new Mutation('character.main', {
return characterActions.hideCharacter('main', character, fadeDuration).concat([new Mutation('character.highlight', {
opacity: 1,
strokes: objRepeat({ opacity: 0 }, character.strokes.length)
strokes: objRepeat({ opacity: 0, force: true }, character.strokes.length)
}), new Mutation('character.main', {
opacity: 1,
strokes: objRepeat({ opacity: 0, force: true }, character.strokes.length)
})]);
};

Expand Down
4 changes: 2 additions & 2 deletions dist/hanzi-writer.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hanzi-writer",
"version": "0.8.0",
"version": "0.8.1",
"author": "David Chanin <[email protected]> (http://chanind.github.io/hanzi-writer/)",
"description": "Hanzi Writer is a free and open-source javascript library for both animating simplified Chinese characters and quizzing users on character stroke order.",
"repository": "chanind/hanzi-writer",
Expand Down

0 comments on commit 030b7e2

Please sign in to comment.