diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2017-03-01 14:18:46 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2017-03-01 14:18:46 +0900 |
| commit | 4253f9e083874504d7e13f2656a9da0eb81b413f (patch) | |
| tree | 87da076d0d35b8739539b0dc4100c125ad5c038b /src/web/app/common/scripts | |
| parent | Merge pull request #216 from armchair-philosophy/emoji (diff) | |
| download | sharkey-4253f9e083874504d7e13f2656a9da0eb81b413f.tar.gz sharkey-4253f9e083874504d7e13f2656a9da0eb81b413f.tar.bz2 sharkey-4253f9e083874504d7e13f2656a9da0eb81b413f.zip | |
Clean up
Diffstat (limited to 'src/web/app/common/scripts')
| -rw-r--r-- | src/web/app/common/scripts/text-compiler.js | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/web/app/common/scripts/text-compiler.js b/src/web/app/common/scripts/text-compiler.js index a3c1fe8dde..3ff617484b 100644 --- a/src/web/app/common/scripts/text-compiler.js +++ b/src/web/app/common/scripts/text-compiler.js @@ -9,13 +9,10 @@ const escape = function(text) { .replace(/</g, '<'); }; -module.exports = function(tokens, shouldBreak, shouldEscape) { +module.exports = function(tokens, shouldBreak) { if (shouldBreak == null) { shouldBreak = true; } - if (shouldEscape != null) { - alert('do not use this option') - } const me = riot.mixin('i').me; |