1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 09:46:22 +00:00

modify: change to modern js

This commit is contained in:
sota1235
2017-04-29 13:57:27 +09:00
committed by asmsuechan
parent 0a28798d54
commit a40f8d25ef

View File

@@ -7,7 +7,7 @@
* @return {string}
*/
export function strip (input) {
var output = input
let output = input
try {
output = output
.replace(/^([\s\t]*)([\*\-\+]|\d+\.)\s+/gm, '$1')