This commit is contained in:
syuilo 2017-03-01 14:18:46 +09:00
parent 96f75842de
commit 4253f9e083

View file

@ -9,13 +9,10 @@ const escape = function(text) {
.replace(/</g, '&lt;'); .replace(/</g, '&lt;');
}; };
module.exports = function(tokens, shouldBreak, shouldEscape) { module.exports = function(tokens, shouldBreak) {
if (shouldBreak == null) { if (shouldBreak == null) {
shouldBreak = true; shouldBreak = true;
} }
if (shouldEscape != null) {
alert('do not use this option')
}
const me = riot.mixin('i').me; const me = riot.mixin('i').me;