From 0e7be42c305fb6fe36d830ba9ab87c3a6dc973da Mon Sep 17 00:00:00 2001 From: kei Date: Wed, 6 Dec 2017 12:08:53 +0800 Subject: [PATCH] fix 1.3.2 --- README.md | 6 ++++-- source/package.json | 2 +- source/src/App.vue | 8 ++++---- source/src/components/Book.vue | 2 +- source/src/main.js | 4 ++-- source/src/styles/base.css | 10 +++++++--- the-tab-of-words.crx | Bin 514414 -> 514396 bytes the-tab-of-words/dist/index.html | 2 +- .../app.d123f7f6fea886b052ef41cdd0498c00.css | 1 + .../app.e6c30d1c4d5cb0e7fb4feee0bd742431.css | 1 - .../static/js/app.5a4bdbad84303fce1f02.js | 1 - .../static/js/app.f15663e66d92908b05e9.js | 1 + .../js/manifest.263af93bcf494aa54437.js | 1 + .../js/manifest.3bde10ebc2a66d9c039f.js | 1 - the-tab-of-words/manifest.json | 2 +- 15 files changed, 24 insertions(+), 18 deletions(-) create mode 100644 the-tab-of-words/dist/static/css/app.d123f7f6fea886b052ef41cdd0498c00.css delete mode 100644 the-tab-of-words/dist/static/css/app.e6c30d1c4d5cb0e7fb4feee0bd742431.css delete mode 100644 the-tab-of-words/dist/static/js/app.5a4bdbad84303fce1f02.js create mode 100644 the-tab-of-words/dist/static/js/app.f15663e66d92908b05e9.js create mode 100644 the-tab-of-words/dist/static/js/manifest.263af93bcf494aa54437.js delete mode 100644 the-tab-of-words/dist/static/js/manifest.3bde10ebc2a66d9c039f.js diff --git a/README.md b/README.md index abb319f..e3b5295 100644 --- a/README.md +++ b/README.md @@ -19,8 +19,10 @@ A minimal Chrome / Firefox extension to help you learn Japanese words in each ne + Add「日」/「夕」/「月」themes + Change `likes` to `hides` ( hiddens words will not appear anymore) + Fix words data manually... -- `1.3.1` - + Removed voice feature (still looking for a text2voice service) +- `1.3.1` Removed voice feature (still looking for a text2voice service) +- `1.3.2` + + Fixed bug in「帳」 + + Made font size bigger in "L" ## TODO diff --git a/source/package.json b/source/package.json index 79cb659..2b83383 100644 --- a/source/package.json +++ b/source/package.json @@ -1,6 +1,6 @@ { "name": "the-tab-of-words", - "version": "1.3.1", + "version": "1.3.2", "description": "言葉 の Tab. A minimal extension to help you learn Japanese words in each new tab.", "author": "keiww ", "private": true, diff --git a/source/src/App.vue b/source/src/App.vue index c281d70..29e11c1 100644 --- a/source/src/App.vue +++ b/source/src/App.vue @@ -38,12 +38,12 @@ export default { }, watch: { fontSize (val, prevVal) { - document.body.classList.remove(prevVal) - document.body.classList.add(val) + document.documentElement.classList.remove(prevVal) + document.documentElement.classList.add(val) }, theme (val, prevVal) { - document.body.classList.remove(prevVal) - document.body.classList.add(val) + document.documentElement.classList.remove(prevVal) + document.documentElement.classList.add(val) } }, created () { diff --git a/source/src/components/Book.vue b/source/src/components/Book.vue index 9582a13..4ec1d03 100644 --- a/source/src/components/Book.vue +++ b/source/src/components/Book.vue @@ -54,7 +54,7 @@ export default { hiddenCards = hides.map(item => { return hiddenCards.filter(card => item === card.uuid)[0] }) - return hiddenCards.reserve() + return hiddenCards.reverse() } }, methods: { diff --git a/source/src/main.js b/source/src/main.js index 3afb42e..2c488c5 100644 --- a/source/src/main.js +++ b/source/src/main.js @@ -6,8 +6,8 @@ import App from './App' Vue.config.productionTip = false -document.body.classList.add(bus.store.settings.fontSize) -document.body.classList.add(bus.store.settings.theme) +document.documentElement.classList.add(bus.store.settings.fontSize) +document.documentElement.classList.add(bus.store.settings.theme) /* eslint-disable no-new */ new Vue({ diff --git a/source/src/styles/base.css b/source/src/styles/base.css index b34590c..2477fd9 100644 --- a/source/src/styles/base.css +++ b/source/src/styles/base.css @@ -4,8 +4,8 @@ box-sizing: border-box; } -body, html { - height: 100vh; +html { + height: 100%; line-height: 1.5; font-family: var(--font); overflow: hidden; @@ -29,10 +29,14 @@ body, html { font-size: 16px; } &.l { - font-size: 18px; + font-size: 20px; } } +body { + height: 100%; +} + a { text-decoration: none; .sunrise & { diff --git a/the-tab-of-words.crx b/the-tab-of-words.crx index 3004f55a93cad866b1c2bddf4fc47be354de3912..e882444999f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86w?rBX9KT(6l}l2nxYK`IM3TgGF`@?_ZWdt^BRjW!%8B)(7tQraTX?tx>%NIwy?6cEu>hHisEhMxVfgOcZQ7BhBkL zkjkY4-hM2Csmv&fviYNqQLU! zfCB#pD|0~Me*?04pwPd8);v(;-ymfk_#XE^1eG@cz+2eKJdj52AE5WY2rK{NK>rsb z`wJTZaQ{qzE)(m~+=H#SvM VL_+>26Yk&Pg9rc=O#%O|{tE%sHs=5U diff --git a/the-tab-of-words/dist/index.html b/the-tab-of-words/dist/index.html index 3b25b64..4dc9d3f 100644 --- a/the-tab-of-words/dist/index.html +++ b/the-tab-of-words/dist/index.html @@ -1 +1 @@ -言葉 の Tab
\ No newline at end of file +言葉 の Tab
\ No newline at end of file diff --git a/the-tab-of-words/dist/static/css/app.d123f7f6fea886b052ef41cdd0498c00.css b/the-tab-of-words/dist/static/css/app.d123f7f6fea886b052ef41cdd0498c00.css new file mode 100644 index 0000000..c2ee87f --- /dev/null +++ b/the-tab-of-words/dist/static/css/app.d123f7f6fea886b052ef41cdd0498c00.css @@ -0,0 +1 @@ +/*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,footer,header,nav,section{display:block}h1{font-size:2em;margin:.67em 0}figcaption,figure,main{display:block}figure{margin:1em 40px}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent;-webkit-text-decoration-skip:objects}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:inherit;font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}dfn{font-style:italic}mark{background-color:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}audio,video{display:inline-block}audio:not([controls]){display:none;height:0}img{border-style:none}svg:not(:root){overflow:hidden}button,input,optgroup,select,textarea{font-family:sans-serif;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{display:inline-block;vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details,menu{display:block}summary{display:list-item}canvas{display:inline-block}[hidden],template{display:none}*,:after,:before{box-sizing:border-box}html{height:100%;line-height:1.5;font-family:Avenir,Helvetica,Ubuntu,Segoe UI,Source Han Sans,Source Han Sans JP,Hiragino Sans,WenQuanYi Micro Hei,Microsoft Yahei,Arial,sans-serif;overflow:hidden;transition:background-color .3s,color .3s}html.sunrise{color:#2c3e50;background:#fcfcfc}html.sunset{color:#4c5d4d;background:#f4ead5}html.moon{color:#f4f4f4;background:#2b3640}html.s{font-size:14px}html.m{font-size:16px}html.l{font-size:20px}body{height:100%}a{text-decoration:none}.sunrise a{color:#2c3e50}.sunset a{color:#4c5d4d}.moon a{color:#f4f4f4}.transparent{opacity:0}ul{list-style:none;padding:0;margin:0}button{-webkit-appearance:none;appearance:none;padding:0;border:none;background:none;outline:none;cursor:pointer;line-height:1}.sunrise button{color:#2c3e50}.sunset button{color:#4c5d4d}.moon button{color:#f4f4f4}.fade-enter-active,.fade-leave-active{transition:opacity .2s}#app,.fade-enter,.fade-leave-active{opacity:0}#app{width:100%;height:100%}#app.loaded{opacity:1;transition:opacity .3s}.container{position:fixed;left:0;top:0;height:100%;width:100%}.card{position:fixed;left:50%;top:50%;-webkit-transform:translateX(-50%) translateY(-60%);transform:translateX(-50%) translateY(-60%);font-size:2rem;text-align:center;width:80%}.card .hiragana,.card .romaji{margin:0}.card .romaji{opacity:0;font-size:.8em;transition:opacity .3s}.card .romaji.show{opacity:1}.card .word{font-size:2.8em;margin:.5em 0}.card .meaning{max-width:80%;margin:1em auto;font-weight:100}.card .level{display:inline-block;padding:0 1em;border-radius:.15em;font-size:.8em;font-weight:100;color:#fcfcfc;background:#2c3e50}.moon .card .level{color:#2b3640;background:#f4f4f4}.sunset .card .level{color:#f4ead5;background:#4c5d4d}.bookWrapper{width:100%;height:100%;padding:0 10%;overflow:hidden;overflow-y:auto}.book{margin:auto;height:100vh;width:100%;max-width:36rem;min-width:420px;font-size:1rem}.book .list{padding:1.875em}.book .item{max-height:auto;position:relative;margin:1em 0;border-radius:2px;box-shadow:0 .1em .1em rgba(89,119,148,.15),0 0 .05em 0 rgba(89,119,148,.3);border:1px solid transparent;border-left-width:2px;overflow:hidden}.book .item .inner{padding:.8em 4em .8em 1em}.moon .book .item{border-left:2px solid #6286a9;background:#2c3e50}.moon .book .item,.sunset .book .item{box-shadow:none;border-radius:0}.sunset .book .item{background:rgba(76,93,77,.05);border-bottom:1px solid #759b81}.book .word{font-weight:400;font-size:1.5em;margin:0}.book .level{position:absolute;right:1em;top:1em;padding:1px .5em 0;border-radius:2px;background:#6286a9;color:#fcfcfc;font-size:.8em;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.moon .book .level{color:#f4f4f4;background:#2b3640}.sunset .book .level{color:#f4ead5;background:#4c5d4d}.book .spelling{margin:.5em 0 0}.book .spelling .hiragana{margin-right:.5em}.book .spelling .romaji{opacity:0;transition:opacity .3s;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.book .spelling .romaji.show{opacity:1;-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto}.book .meaning{margin:.5em 0 0}.book .btn-del{position:absolute;right:.75em;bottom:.7em;padding:.7em;color:rgba(98,134,169,.8);line-height:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.moon .book .btn-del{color:rgba(171,186,202,.8)}.sunset .book .btn-del{color:rgba(117,155,129,.8)}.book .empty{position:fixed;left:50%;top:50%;margin:0;font-weight:100;font-size:5em;line-height:1em;text-align:center;color:#6286a9;opacity:.5;-webkit-transform:translateX(-50%) translateY(-100%);transform:translateX(-50%) translateY(-100%)}.list-enter-active,.list-leave-active{transition:all .3s}.list-enter,.list-leave-to{opacity:0}.settings{position:fixed;top:auto;right:1.8em;bottom:2em;text-align:right;font-weight:100;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.settings a{color:rgba(98,134,169,.8)}.sunset .settings a{color:rgba(117,155,129,.8)}.moon .settings a{color:rgba(171,186,202,.8)}.settings .source{display:block;margin-top:.5em}.settings .btn{display:block;margin-bottom:.5em;transition:color .3s}.settings .btn.active{color:#2c3e50}.toolbar{position:fixed;right:1em;top:1em;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;font-size:1.7rem;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.toolbar .btn{padding:0;margin-left:.8em;color:#6286a9;font-family:Source Han Serif,Source Han Serif JP,MS Mincho,Microsoft Yahei,Times New Roman,serif;transition:color .3s,opacity .3s}.toolbar .btn.show{color:#2c3e50}.toolbar .btn.hide{opacity:0;visibility:hidden}.moon .toolbar .btn{color:#abbaca}.moon .toolbar .btn.show{color:#fcfcfc}.sunset .toolbar .btn{color:#759b81}.sunset .toolbar .btn.show{color:#4c5d4d}.toolbar .btn-r{margin:0;font-family:Avenir,Helvetica,Ubuntu,Segoe UI,Source Han Sans,Source Han Sans JP,Hiragino Sans,WenQuanYi Micro Hei,Microsoft Yahei,Arial,sans-serif;font-weight:300} \ No newline at end of file diff --git a/the-tab-of-words/dist/static/css/app.e6c30d1c4d5cb0e7fb4feee0bd742431.css b/the-tab-of-words/dist/static/css/app.e6c30d1c4d5cb0e7fb4feee0bd742431.css deleted file mode 100644 index 6df47d1..0000000 --- a/the-tab-of-words/dist/static/css/app.e6c30d1c4d5cb0e7fb4feee0bd742431.css +++ /dev/null @@ -1 +0,0 @@ -/*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,footer,header,nav,section{display:block}h1{font-size:2em;margin:.67em 0}figcaption,figure,main{display:block}figure{margin:1em 40px}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent;-webkit-text-decoration-skip:objects}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:inherit;font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}dfn{font-style:italic}mark{background-color:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}audio,video{display:inline-block}audio:not([controls]){display:none;height:0}img{border-style:none}svg:not(:root){overflow:hidden}button,input,optgroup,select,textarea{font-family:sans-serif;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{display:inline-block;vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details,menu{display:block}summary{display:list-item}canvas{display:inline-block}[hidden],template{display:none}*,:after,:before{box-sizing:border-box}body,html{height:100vh;line-height:1.5;font-family:Avenir,Helvetica,Ubuntu,Segoe UI,Source Han Sans,Source Han Sans JP,Hiragino Sans,WenQuanYi Micro Hei,Microsoft Yahei,Arial,sans-serif;overflow:hidden;transition:background-color .3s,color .3s}body.sunrise,html.sunrise{color:#2c3e50;background:#fcfcfc}body.sunset,html.sunset{color:#4c5d4d;background:#f4ead5}body.moon,html.moon{color:#f4f4f4;background:#2b3640}body.s,html.s{font-size:14px}body.m,html.m{font-size:16px}body.l,html.l{font-size:18px}a{text-decoration:none}.sunrise a{color:#2c3e50}.sunset a{color:#4c5d4d}.moon a{color:#f4f4f4}.transparent{opacity:0}ul{list-style:none;padding:0;margin:0}button{-webkit-appearance:none;appearance:none;padding:0;border:none;background:none;outline:none;cursor:pointer;line-height:1}.sunrise button{color:#2c3e50}.sunset button{color:#4c5d4d}.moon button{color:#f4f4f4}.fade-enter-active,.fade-leave-active{transition:opacity .2s}#app,.fade-enter,.fade-leave-active{opacity:0}#app{width:100%;height:100%}#app.loaded{opacity:1;transition:opacity .3s}.container{position:fixed;left:0;top:0;height:100%;width:100%}.card{position:fixed;left:50%;top:50%;-webkit-transform:translateX(-50%) translateY(-60%);transform:translateX(-50%) translateY(-60%);font-size:2rem;text-align:center;width:80%}.card .hiragana,.card .romaji{margin:0}.card .romaji{opacity:0;font-size:.8em;transition:opacity .3s}.card .romaji.show{opacity:1}.card .word{font-size:2.8em;margin:.5em 0}.card .meaning{max-width:80%;margin:1em auto;font-weight:100}.card .level{display:inline-block;padding:0 1em;border-radius:.15em;font-size:.8em;font-weight:100;color:#fcfcfc;background:#2c3e50}.moon .card .level{color:#2b3640;background:#f4f4f4}.sunset .card .level{color:#f4ead5;background:#4c5d4d}.bookWrapper{width:100%;height:100%;padding:0 10%;overflow:hidden;overflow-y:auto}.book{margin:auto;height:100vh;width:100%;max-width:36rem;min-width:420px;font-size:1rem}.book .list{padding:1.875em}.book .item{max-height:auto;position:relative;margin:1em 0;border-radius:2px;box-shadow:0 .1em .1em rgba(89,119,148,.15),0 0 .05em 0 rgba(89,119,148,.3);border:1px solid transparent;border-left-width:2px;overflow:hidden}.book .item .inner{padding:.8em 4em .8em 1em}.moon .book .item{border-left:2px solid #6286a9;background:#2c3e50}.moon .book .item,.sunset .book .item{box-shadow:none;border-radius:0}.sunset .book .item{background:rgba(76,93,77,.05);border-bottom:1px solid #759b81}.book .word{font-weight:400;font-size:1.5em;margin:0}.book .level{position:absolute;right:1em;top:1em;padding:1px .5em 0;border-radius:2px;background:#6286a9;color:#fcfcfc;font-size:.8em;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.moon .book .level{color:#f4f4f4;background:#2b3640}.sunset .book .level{color:#f4ead5;background:#4c5d4d}.book .spelling{margin:.5em 0 0}.book .spelling .hiragana{margin-right:.5em}.book .spelling .romaji{opacity:0;transition:opacity .3s;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.book .spelling .romaji.show{opacity:1;-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto}.book .meaning{margin:.5em 0 0}.book .btn-del{position:absolute;right:.75em;bottom:.7em;padding:.7em;color:rgba(98,134,169,.8);line-height:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.moon .book .btn-del{color:rgba(171,186,202,.8)}.sunset .book .btn-del{color:rgba(117,155,129,.8)}.book .empty{position:fixed;left:50%;top:50%;margin:0;font-weight:100;font-size:5em;line-height:1em;text-align:center;color:#6286a9;opacity:.5;-webkit-transform:translateX(-50%) translateY(-100%);transform:translateX(-50%) translateY(-100%)}.list-enter-active,.list-leave-active{transition:all .3s}.list-enter,.list-leave-to{opacity:0}.settings{position:fixed;top:auto;right:1.8em;bottom:2em;text-align:right;font-weight:100;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.settings a{color:rgba(98,134,169,.8)}.sunset .settings a{color:rgba(117,155,129,.8)}.moon .settings a{color:rgba(171,186,202,.8)}.settings .source{display:block;margin-top:.5em}.settings .btn{display:block;margin-bottom:.5em;transition:color .3s}.settings .btn.active{color:#2c3e50}.toolbar{position:fixed;right:1em;top:1em;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;font-size:1.7rem;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.toolbar .btn{padding:0;margin-left:.8em;color:#6286a9;font-family:Source Han Serif,Source Han Serif JP,MS Mincho,Microsoft Yahei,Times New Roman,serif;transition:color .3s,opacity .3s}.toolbar .btn.show{color:#2c3e50}.toolbar .btn.hide{opacity:0;visibility:hidden}.moon .toolbar .btn{color:#abbaca}.moon .toolbar .btn.show{color:#fcfcfc}.sunset .toolbar .btn{color:#759b81}.sunset .toolbar .btn.show{color:#4c5d4d}.toolbar .btn-r{margin:0;font-family:Avenir,Helvetica,Ubuntu,Segoe UI,Source Han Sans,Source Han Sans JP,Hiragino Sans,WenQuanYi Micro Hei,Microsoft Yahei,Arial,sans-serif;font-weight:300} \ No newline at end of file diff --git a/the-tab-of-words/dist/static/js/app.5a4bdbad84303fce1f02.js b/the-tab-of-words/dist/static/js/app.5a4bdbad84303fce1f02.js deleted file mode 100644 index 4a78dfc..0000000 --- a/the-tab-of-words/dist/static/js/app.5a4bdbad84303fce1f02.js +++ /dev/null @@ -1 +0,0 @@ -webpackJsonp([1],{"0xDb":function(t,e,s){"use strict";s.d(e,"a",function(){return n}),s.d(e,"b",function(){return o});var n=function(t){return t[Math.floor(Math.random()*t.length)]},o=function(t,e){var s=e.indexOf(t);return e[s+1>=e.length?0:s+1]}},"18oN":function(t,e,s){"use strict";var n=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("nav",{staticClass:"toolbar"},[s("button",{class:{btn:!0,hide:t.store.showBook},on:{click:t.changeLevel}},[t._v("\n "+t._s(t.levels[t.store.level])+"\n ")]),t._v(" "),s("button",{class:{btn:!0,hide:t.store.showBook},on:{click:t.hide}},[t._v("\n 隠\n ")]),t._v(" "),s("button",{class:{btn:!0,show:t.store.showBook},on:{click:t.toggleBook}},[t._v("\n 帳\n ")]),t._v(" "),s("button",{staticClass:"btn",on:{click:t.changeTheme}},[t._v("\n "+t._s(t.themes[t.theme])+"\n ")])])},o=[],i={render:n,staticRenderFns:o};e.a=i},"3oM+":function(t,e){},"4x6I":function(t,e,s){"use strict";var n=s("xipm");e.a={data:function(){return{themes:{sunrise:"日",sunset:"夕",moon:"月"},levels:["全","一","二","三","四","五"],store:n.a.store}},computed:{theme:function(){return this.store.settings.theme}},methods:{hide:function(){n.a.hide(this.store.card)},changeLevel:n.a.changeLevel,toggleBook:n.a.toggleBook,changeTheme:n.a.changeTheme}}},"F4/v":function(t,e,s){"use strict";function n(t){s("3oM+")}var o=s("Fex2"),i=s("OuTJ"),a=s("VU/8"),r=n,c=a(o.a,i.a,!1,r,null,null);e.a=c.exports},Fex2:function(t,e,s){"use strict";var n=s("xipm"),o=s("niH5");e.a={data:function(){return{store:n.a.store,wordToPlay:""}},components:{Settings:o.a},computed:{showRomaji:function(){return this.store.settings.showRomaji},hiddenCards:function(){var t=this.store,e=t.hides,s=t.words,n=s.filter(function(t){return e.includes(t.uuid)});return n=e.map(function(t){return n.filter(function(e){return t===e.uuid})[0]}),n.reserve()}},methods:{searchUrl:function(t){return"http://jisho.org/search/"+t},unhide:function(t){n.a.unhide(t)}}}},I35F:function(t,e){},JZSy:function(t,e,s){"use strict";var n=s("xipm");e.a={data:function(){return{store:n.a.store}},computed:{showRomaji:function(){return this.store.settings.showRomaji},fontSize:function(){return this.store.settings.fontSize.toUpperCase()}},methods:{toggleRomaji:n.a.toggleRomaji,toggleFontSize:n.a.toggleFontSize}}},JtYv:function(t,e,s){"use strict";var n=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"card"},[s("div",{staticClass:"meta"},[s("p",{staticClass:"romaji",class:{show:t.showRomaji}},[t._v(t._s(t.card.romaji||" "))]),t._v(" "),s("p",{staticClass:"hiragana"},[t._v(t._s(t.card.hiragana||t.card.word))])]),t._v(" "),s("h1",{staticClass:"word"},[s("a",{attrs:{href:t.searchUrl,target:"_blank"}},[t._v(t._s(t.card.word))])]),t._v(" "),s("p",{staticClass:"meaning"},[t._v(t._s(t.card.meaning))]),t._v(" "),s("span",{staticClass:"level"},[t._v("N"+t._s(t.card.level))])])},o=[],i={render:n,staticRenderFns:o};e.a=i},KNqz:function(t,e){},M93x:function(t,e,s){"use strict";function n(t){s("ZA7S")}var o=s("xJD8"),i=s("ddZm"),a=s("VU/8"),r=n,c=a(o.a,i.a,!1,r,null,null);e.a=c.exports},NHnr:function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=s("7+uW"),o=s("xipm"),i=s("M93x");n.a.config.productionTip=!1,document.body.classList.add(o.a.store.settings.fontSize),document.body.classList.add(o.a.store.settings.theme),new n.a({el:"#app",template:"",components:{App:i.a}}),console.log("// Signed in Chrome / Firefox Account to sync your settings."),console.log("// You can press SPACEBAR / ENTER to get another random word."),console.log("// Source code is on https://github.com/keiww/the-tab-of-words")},NU23:function(t,e,s){"use strict";var n=s("xipm");e.a={data:function(){return{store:n.a.store}},computed:{showRomaji:function(){return n.a.store.settings.showRomaji},card:function(){return this.store.card},searchUrl:function(){return"http://jisho.org/search/"+this.store.card.word}}}},OuTJ:function(t,e,s){"use strict";var n=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"bookWrapper"},[s("main",{staticClass:"book"},[s("transition",{attrs:{name:"fade",mode:"out-in"}},[t.hiddenCards.length?s("transition-group",{staticClass:"list",attrs:{name:"list",tag:"ul"}},t._l(t.hiddenCards,function(e,n){return s("li",{key:n,staticClass:"item"},[s("div",{staticClass:"inner"},[s("h3",{staticClass:"word"},[s("a",{attrs:{href:t.searchUrl(e.word),target:"_blank"}},[t._v(t._s(e.word))])]),t._v(" "),s("span",{staticClass:"level"},[t._v("N"+t._s(e.level))]),t._v(" "),s("p",{staticClass:"spelling"},[s("span",{staticClass:"hiragana"},[t._v(t._s(e.hiragana||e.word))]),t._v(" "),s("span",{staticClass:"romaji",class:{show:t.showRomaji}},[t._v(t._s(e.romaji))])]),t._v(" "),s("p",{staticClass:"meaning"},[t._v(t._s(e.meaning))]),t._v(" "),s("button",{staticClass:"btn-del",on:{click:function(s){t.unhide(e)}}},[t._v("×")])])])})):s("div",{staticClass:"empty"},[t._v("空")])],1)],1),t._v(" "),s("Settings")],1)},o=[],i={render:n,staticRenderFns:o};e.a=i},XW1S:function(t,e,s){"use strict";var n=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"settings"},[s("a",{staticClass:"btn",attrs:{href:"javascript:void(0);"},on:{click:t.toggleFontSize}},[t._v("\n "+t._s(t.fontSize)+"\n ")]),t._v(" "),s("a",{staticClass:"btn",class:{active:t.showRomaji},attrs:{href:"javascript:void(0);"},on:{click:t.toggleRomaji}},[t._v("\n romaji\n ")]),t._v(" "),s("a",{staticClass:"source",attrs:{target:"_blank",href:"http://www.tanos.co.uk/jlpt/"}},[t._v("@datasource")]),t._v(" "),s("a",{staticClass:"source",attrs:{target:"_blank",href:"http://the-tab-of-words.keipixel.com/"}},[t._v("@homepage")])])},o=[],i={render:n,staticRenderFns:o};e.a=i},ZA7S:function(t,e){},ddZm:function(t,e,s){"use strict";var n=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{class:{loaded:t.store.loaded},attrs:{id:"app"}},[s("div",{staticClass:"container"},[s("transition",{attrs:{name:"fade",mode:"out-in"}},[s(t.store.showBook?"Book":"Card")],1)],1),t._v(" "),s("Toolbar")],1)},o=[],i={render:n,staticRenderFns:o};e.a=i},djO7:function(t,e,s){"use strict";function n(t){s("dqKe")}var o=s("4x6I"),i=s("18oN"),a=s("VU/8"),r=n,c=a(o.a,i.a,!1,r,null,null);e.a=c.exports},dqKe:function(t,e){},gyMJ:function(t,e,s){"use strict";s.d(e,"a",function(){return n});var n=function(){return fetch("./static/data/words.json").then(function(t){return t.json()})}},niH5:function(t,e,s){"use strict";function n(t){s("KNqz")}var o=s("JZSy"),i=s("XW1S"),a=s("VU/8"),r=n,c=a(o.a,i.a,!1,r,null,null);e.a=c.exports},rhdv:function(t,e,s){"use strict";function n(t){s("I35F")}var o=s("NU23"),i=s("JtYv"),a=s("VU/8"),r=n,c=a(o.a,i.a,!1,r,null,null);e.a=c.exports},xJD8:function(t,e,s){"use strict";var n=s("xipm"),o=s("rhdv"),i=s("F4/v"),a=s("djO7");e.a={data:function(){return{store:n.a.store}},components:{Card:o.a,Book:i.a,Toolbar:a.a},computed:{theme:function(){return this.store.settings.theme},fontSize:function(){return this.store.settings.fontSize}},watch:{fontSize:function(t,e){document.body.classList.remove(e),document.body.classList.add(t)},theme:function(t,e){document.body.classList.remove(e),document.body.classList.add(t)}},created:function(){n.a.init(),this.onKeydown()},methods:{onKeydown:function(){var t=this;window.addEventListener("keydown",function(e){[32,13].includes(e.keyCode)&&e.preventDefault(),32!==e.keyCode&&13!==e.keyCode||!t.store.loaded||n.a.generateCard(),27===e.keyCode&&t.store.showBook&&n.a.hideBook()})}}}},xS6p:function(t,e,s){"use strict";s.d(e,"a",function(){return f});var n=s("mvHQ"),o=s.n(n),i=s("bOdI"),a=s.n(i),r=s("Q7hp"),c=s.n(r),u=s("HN2V"),d=s.n(u),l="THE_TAB_OF_WORDS",h=["version","level","hides","settings"],f={loaded:!1,showBook:!1,words:[],card:{},version:"1.3.0",level:0,hides:[],settings:{showRomaji:!1,fontSize:"m",theme:"sunrise"}},v=c()(window,["chrome","storage","sync"],null),m={init:function(t){var e=this;if(v)v.get(l,function(s){s=s?s[l]:{},t(e.getInitStore(s))});else{var s=JSON.parse(window.localStorage.getItem(l));t(this.getInitStore(s))}},getInitStore:function(t){var e=f;return t?(d()(e,t),"1.3.0"!==e.version&&(e.version<"1.1.0"&&(e.settings.showRomaji=e.showRomaji,delete e.showRomaji),e.version<"1.3.0"&&(e.hides=e.likes,delete e.likes),e.version="1.3.0",this.update(e))):this.update(e),e},update:function(t){var e={};h.forEach(function(s){e[s]=t[s]}),v?v.set(a()({},l,e)):window.localStorage.setItem(l,o()(e))}};e.b=m},xipm:function(t,e,s){"use strict";var n=s("woOf"),o=s.n(n),i=s("7+uW"),a=s("RyI1"),r=s.n(a),c=s("q+Dy"),u=s.n(c),d=s("xS6p"),l=s("gyMJ"),h=s("0xDb"),f=["s","m","l"],v=["sunrise","sunset","moon"],m=new i.a({data:{store:d.a},computed:{filteredWords:function(){var t=this.store,e=t.level,s=t.words,n=t.hides,o=0===e?s:s.filter(function(t){return t.level===e});return r()(o,function(t){return!u()(n,t.uuid)})}},methods:{init:function(){var t=this;d.b.init(function(e){s.i(l.a)().then(function(s){e.words=s,e.loaded=!0,t.store=o()(t.store,e),t.generateCard()})})},generateCard:function(){this.store.card=s.i(h.a)(this.filteredWords,this.store.hides)},changeLevel:function(){var t=this.store.level;this.store.level=t+1>5?0:t+1,this.generateCard(),d.b.update(this.store)},hide:function(t){this.store.hides.push(t.uuid),d.b.update(this.store),this.generateCard()},unhide:function(t){var e=this.store.hides.indexOf(t.uuid);e>=0&&(this.store.hides.splice(e,1),d.b.update(this.store))},toggleBook:function(){this.store.showBook=!this.store.showBook,d.b.update(this.store)},hideBook:function(){this.store.showBook&&(this.store.showBook=!1,d.b.update(this.store))},toggleRomaji:function(){this.store.settings.showRomaji=!this.store.settings.showRomaji,d.b.update(this.store)},toggleFontSize:function(){this.store.settings.fontSize=s.i(h.b)(this.store.settings.fontSize,f),d.b.update(this.store)},changeTheme:function(){this.store.settings.theme=s.i(h.b)(this.store.settings.theme,v),d.b.update(this.store)}}});e.a=m}},["NHnr"]); \ No newline at end of file diff --git a/the-tab-of-words/dist/static/js/app.f15663e66d92908b05e9.js b/the-tab-of-words/dist/static/js/app.f15663e66d92908b05e9.js new file mode 100644 index 0000000..9c499d5 --- /dev/null +++ b/the-tab-of-words/dist/static/js/app.f15663e66d92908b05e9.js @@ -0,0 +1 @@ +webpackJsonp([1],{"0xDb":function(t,e,s){"use strict";s.d(e,"a",function(){return n}),s.d(e,"b",function(){return o});var n=function(t){return t[Math.floor(Math.random()*t.length)]},o=function(t,e){var s=e.indexOf(t);return e[s+1>=e.length?0:s+1]}},"18oN":function(t,e,s){"use strict";var n=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("nav",{staticClass:"toolbar"},[s("button",{class:{btn:!0,hide:t.store.showBook},on:{click:t.changeLevel}},[t._v("\n "+t._s(t.levels[t.store.level])+"\n ")]),t._v(" "),s("button",{class:{btn:!0,hide:t.store.showBook},on:{click:t.hide}},[t._v("\n 隠\n ")]),t._v(" "),s("button",{class:{btn:!0,show:t.store.showBook},on:{click:t.toggleBook}},[t._v("\n 帳\n ")]),t._v(" "),s("button",{staticClass:"btn",on:{click:t.changeTheme}},[t._v("\n "+t._s(t.themes[t.theme])+"\n ")])])},o=[],i={render:n,staticRenderFns:o};e.a=i},"4x6I":function(t,e,s){"use strict";var n=s("xipm");e.a={data:function(){return{themes:{sunrise:"日",sunset:"夕",moon:"月"},levels:["全","一","二","三","四","五"],store:n.a.store}},computed:{theme:function(){return this.store.settings.theme}},methods:{hide:function(){n.a.hide(this.store.card)},changeLevel:n.a.changeLevel,toggleBook:n.a.toggleBook,changeTheme:n.a.changeTheme}}},ATt0:function(t,e,s){"use strict";var n=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"bookWrapper"},[s("main",{staticClass:"book"},[s("transition",{attrs:{name:"fade",mode:"out-in"}},[t.hiddenCards.length?s("transition-group",{staticClass:"list",attrs:{name:"list",tag:"ul"}},t._l(t.hiddenCards,function(e,n){return s("li",{key:n,staticClass:"item"},[s("div",{staticClass:"inner"},[s("h3",{staticClass:"word"},[s("a",{attrs:{href:t.searchUrl(e.word),target:"_blank"}},[t._v(t._s(e.word))])]),t._v(" "),s("span",{staticClass:"level"},[t._v("N"+t._s(e.level))]),t._v(" "),s("p",{staticClass:"spelling"},[s("span",{staticClass:"hiragana"},[t._v(t._s(e.hiragana||e.word))]),t._v(" "),s("span",{staticClass:"romaji",class:{show:t.showRomaji}},[t._v(t._s(e.romaji))])]),t._v(" "),s("p",{staticClass:"meaning"},[t._v(t._s(e.meaning))]),t._v(" "),s("button",{staticClass:"btn-del",on:{click:function(s){t.unhide(e)}}},[t._v("×")])])])})):s("div",{staticClass:"empty"},[t._v("空")])],1)],1),t._v(" "),s("Settings")],1)},o=[],i={render:n,staticRenderFns:o};e.a=i},B6Ca:function(t,e){},"F4/v":function(t,e,s){"use strict";function n(t){s("fCva")}var o=s("Fex2"),i=s("ATt0"),a=s("VU/8"),r=n,c=a(o.a,i.a,!1,r,null,null);e.a=c.exports},Fex2:function(t,e,s){"use strict";var n=s("xipm"),o=s("niH5");e.a={data:function(){return{store:n.a.store,wordToPlay:""}},components:{Settings:o.a},computed:{showRomaji:function(){return this.store.settings.showRomaji},hiddenCards:function(){var t=this.store,e=t.hides,s=t.words,n=s.filter(function(t){return e.includes(t.uuid)});return n=e.map(function(t){return n.filter(function(e){return t===e.uuid})[0]}),n.reverse()}},methods:{searchUrl:function(t){return"http://jisho.org/search/"+t},unhide:function(t){n.a.unhide(t)}}}},I35F:function(t,e){},JZSy:function(t,e,s){"use strict";var n=s("xipm");e.a={data:function(){return{store:n.a.store}},computed:{showRomaji:function(){return this.store.settings.showRomaji},fontSize:function(){return this.store.settings.fontSize.toUpperCase()}},methods:{toggleRomaji:n.a.toggleRomaji,toggleFontSize:n.a.toggleFontSize}}},JtYv:function(t,e,s){"use strict";var n=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"card"},[s("div",{staticClass:"meta"},[s("p",{staticClass:"romaji",class:{show:t.showRomaji}},[t._v(t._s(t.card.romaji||" "))]),t._v(" "),s("p",{staticClass:"hiragana"},[t._v(t._s(t.card.hiragana||t.card.word))])]),t._v(" "),s("h1",{staticClass:"word"},[s("a",{attrs:{href:t.searchUrl,target:"_blank"}},[t._v(t._s(t.card.word))])]),t._v(" "),s("p",{staticClass:"meaning"},[t._v(t._s(t.card.meaning))]),t._v(" "),s("span",{staticClass:"level"},[t._v("N"+t._s(t.card.level))])])},o=[],i={render:n,staticRenderFns:o};e.a=i},KNqz:function(t,e){},M93x:function(t,e,s){"use strict";function n(t){s("B6Ca")}var o=s("xJD8"),i=s("mtbH"),a=s("VU/8"),r=n,c=a(o.a,i.a,!1,r,null,null);e.a=c.exports},NHnr:function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=s("7+uW"),o=s("xipm"),i=s("M93x");n.a.config.productionTip=!1,document.documentElement.classList.add(o.a.store.settings.fontSize),document.documentElement.classList.add(o.a.store.settings.theme),new n.a({el:"#app",template:"",components:{App:i.a}}),console.log("// Signed in Chrome / Firefox Account to sync your settings."),console.log("// You can press SPACEBAR / ENTER to get another random word."),console.log("// Source code is on https://github.com/keiww/the-tab-of-words")},NU23:function(t,e,s){"use strict";var n=s("xipm");e.a={data:function(){return{store:n.a.store}},computed:{showRomaji:function(){return n.a.store.settings.showRomaji},card:function(){return this.store.card},searchUrl:function(){return"http://jisho.org/search/"+this.store.card.word}}}},XW1S:function(t,e,s){"use strict";var n=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"settings"},[s("a",{staticClass:"btn",attrs:{href:"javascript:void(0);"},on:{click:t.toggleFontSize}},[t._v("\n "+t._s(t.fontSize)+"\n ")]),t._v(" "),s("a",{staticClass:"btn",class:{active:t.showRomaji},attrs:{href:"javascript:void(0);"},on:{click:t.toggleRomaji}},[t._v("\n romaji\n ")]),t._v(" "),s("a",{staticClass:"source",attrs:{target:"_blank",href:"http://www.tanos.co.uk/jlpt/"}},[t._v("@datasource")]),t._v(" "),s("a",{staticClass:"source",attrs:{target:"_blank",href:"http://the-tab-of-words.keipixel.com/"}},[t._v("@homepage")])])},o=[],i={render:n,staticRenderFns:o};e.a=i},djO7:function(t,e,s){"use strict";function n(t){s("dqKe")}var o=s("4x6I"),i=s("18oN"),a=s("VU/8"),r=n,c=a(o.a,i.a,!1,r,null,null);e.a=c.exports},dqKe:function(t,e){},fCva:function(t,e){},gyMJ:function(t,e,s){"use strict";s.d(e,"a",function(){return n});var n=function(){return fetch("./static/data/words.json").then(function(t){return t.json()})}},mtbH:function(t,e,s){"use strict";var n=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{class:{loaded:t.store.loaded},attrs:{id:"app"}},[s("div",{staticClass:"container"},[s("transition",{attrs:{name:"fade",mode:"out-in"}},[s(t.store.showBook?"Book":"Card")],1)],1),t._v(" "),s("Toolbar")],1)},o=[],i={render:n,staticRenderFns:o};e.a=i},niH5:function(t,e,s){"use strict";function n(t){s("KNqz")}var o=s("JZSy"),i=s("XW1S"),a=s("VU/8"),r=n,c=a(o.a,i.a,!1,r,null,null);e.a=c.exports},rhdv:function(t,e,s){"use strict";function n(t){s("I35F")}var o=s("NU23"),i=s("JtYv"),a=s("VU/8"),r=n,c=a(o.a,i.a,!1,r,null,null);e.a=c.exports},xJD8:function(t,e,s){"use strict";var n=s("xipm"),o=s("rhdv"),i=s("F4/v"),a=s("djO7");e.a={data:function(){return{store:n.a.store}},components:{Card:o.a,Book:i.a,Toolbar:a.a},computed:{theme:function(){return this.store.settings.theme},fontSize:function(){return this.store.settings.fontSize}},watch:{fontSize:function(t,e){document.documentElement.classList.remove(e),document.documentElement.classList.add(t)},theme:function(t,e){document.documentElement.classList.remove(e),document.documentElement.classList.add(t)}},created:function(){n.a.init(),this.onKeydown()},methods:{onKeydown:function(){var t=this;window.addEventListener("keydown",function(e){[32,13].includes(e.keyCode)&&e.preventDefault(),32!==e.keyCode&&13!==e.keyCode||!t.store.loaded||n.a.generateCard(),27===e.keyCode&&t.store.showBook&&n.a.hideBook()})}}}},xS6p:function(t,e,s){"use strict";s.d(e,"a",function(){return f});var n=s("mvHQ"),o=s.n(n),i=s("bOdI"),a=s.n(i),r=s("Q7hp"),c=s.n(r),u=s("HN2V"),d=s.n(u),l="THE_TAB_OF_WORDS",h=["version","level","hides","settings"],f={loaded:!1,showBook:!1,words:[],card:{},version:"1.3.0",level:0,hides:[],settings:{showRomaji:!1,fontSize:"m",theme:"sunrise"}},v=c()(window,["chrome","storage","sync"],null),m={init:function(t){var e=this;if(v)v.get(l,function(s){s=s?s[l]:{},t(e.getInitStore(s))});else{var s=JSON.parse(window.localStorage.getItem(l));t(this.getInitStore(s))}},getInitStore:function(t){var e=f;return t?(d()(e,t),"1.3.0"!==e.version&&(e.version<"1.1.0"&&(e.settings.showRomaji=e.showRomaji,delete e.showRomaji),e.version<"1.3.0"&&(e.hides=e.likes,delete e.likes),e.version="1.3.0",this.update(e))):this.update(e),e},update:function(t){var e={};h.forEach(function(s){e[s]=t[s]}),v?v.set(a()({},l,e)):window.localStorage.setItem(l,o()(e))}};e.b=m},xipm:function(t,e,s){"use strict";var n=s("woOf"),o=s.n(n),i=s("7+uW"),a=s("RyI1"),r=s.n(a),c=s("q+Dy"),u=s.n(c),d=s("xS6p"),l=s("gyMJ"),h=s("0xDb"),f=["s","m","l"],v=["sunrise","sunset","moon"],m=new i.a({data:{store:d.a},computed:{filteredWords:function(){var t=this.store,e=t.level,s=t.words,n=t.hides,o=0===e?s:s.filter(function(t){return t.level===e});return r()(o,function(t){return!u()(n,t.uuid)})}},methods:{init:function(){var t=this;d.b.init(function(e){s.i(l.a)().then(function(s){e.words=s,e.loaded=!0,t.store=o()(t.store,e),t.generateCard()})})},generateCard:function(){this.store.card=s.i(h.a)(this.filteredWords,this.store.hides)},changeLevel:function(){var t=this.store.level;this.store.level=t+1>5?0:t+1,this.generateCard(),d.b.update(this.store)},hide:function(t){this.store.hides.push(t.uuid),d.b.update(this.store),this.generateCard()},unhide:function(t){var e=this.store.hides.indexOf(t.uuid);e>=0&&(this.store.hides.splice(e,1),d.b.update(this.store))},toggleBook:function(){this.store.showBook=!this.store.showBook,d.b.update(this.store)},hideBook:function(){this.store.showBook&&(this.store.showBook=!1,d.b.update(this.store))},toggleRomaji:function(){this.store.settings.showRomaji=!this.store.settings.showRomaji,d.b.update(this.store)},toggleFontSize:function(){this.store.settings.fontSize=s.i(h.b)(this.store.settings.fontSize,f),d.b.update(this.store)},changeTheme:function(){this.store.settings.theme=s.i(h.b)(this.store.settings.theme,v),d.b.update(this.store)}}});e.a=m}},["NHnr"]); \ No newline at end of file diff --git a/the-tab-of-words/dist/static/js/manifest.263af93bcf494aa54437.js b/the-tab-of-words/dist/static/js/manifest.263af93bcf494aa54437.js new file mode 100644 index 0000000..9541937 --- /dev/null +++ b/the-tab-of-words/dist/static/js/manifest.263af93bcf494aa54437.js @@ -0,0 +1 @@ +!function(e){function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}var r=window.webpackJsonp;window.webpackJsonp=function(t,c,i){for(var u,a,f,s=0,l=[];s