summaryrefslogtreecommitdiff
path: root/src/web/app/common/scripts
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2017-03-01 14:18:46 +0900
committersyuilo <syuilotan@yahoo.co.jp>2017-03-01 14:18:46 +0900
commit4253f9e083874504d7e13f2656a9da0eb81b413f (patch)
tree87da076d0d35b8739539b0dc4100c125ad5c038b /src/web/app/common/scripts
parentMerge pull request #216 from armchair-philosophy/emoji (diff)
downloadsharkey-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.js5
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, '&lt;');
};
-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;