diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-03-27 22:53:45 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-27 22:53:45 -0400 |
commit | a0c4ce779d35cab39c62ca42ad3fe58a82faa1bb (patch) | |
tree | cd5cdae9d1a7aa48c11668a30758c72e4decedc7 /ext/bg/js/clipboard-monitor.js | |
parent | 08d38d8db2c97ff9f016a6de640f645b609088d1 (diff) | |
parent | 780d23b749325da0a95aa9cc7898df19f2ac1b31 (diff) |
Merge pull request #413 from toasted-nutbread/japanese-utility
Convert Japanese utilities to a module-like style
Diffstat (limited to 'ext/bg/js/clipboard-monitor.js')
-rw-r--r-- | ext/bg/js/clipboard-monitor.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/bg/js/clipboard-monitor.js b/ext/bg/js/clipboard-monitor.js index 9a881f57..c67525fc 100644 --- a/ext/bg/js/clipboard-monitor.js +++ b/ext/bg/js/clipboard-monitor.js @@ -17,7 +17,7 @@ */ /* global - * jpIsStringPartiallyJapanese + * jp */ class ClipboardMonitor extends EventDispatcher { @@ -54,7 +54,7 @@ class ClipboardMonitor extends EventDispatcher { text !== this._previousText ) { this._previousText = text; - if (jpIsStringPartiallyJapanese(text)) { + if (jp.isStringPartiallyJapanese(text)) { this.trigger('change', {text}); } } |