summaryrefslogtreecommitdiff
path: root/ext/bg/js/clipboard-monitor.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-03-11 20:33:01 -0400
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-03-15 22:24:30 -0400
commit0f15cca2dff995218a52ff7066008da4cd414e3f (patch)
tree8b2e0644cdc9e2748d029c1df96a07d3b5af6990 /ext/bg/js/clipboard-monitor.js
parent7c5b64f9a43e9d2ca0c6d38cb5089be04c4c00df (diff)
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.js4
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});
}
}