Skip to content

Commit b8396ef

Browse files
chore: clean up commented code
1 parent a282075 commit b8396ef

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

lib/utils/index.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -286,16 +286,6 @@ function process_layer(layer) {
286286
}
287287

288288
if (!isEmpty(text)) {
289-
// const pattern = /(\$\([a-zA-Z]\w+\))/g;
290-
// const parts = text.split(pattern).filter(x => x !== '').map(part => {
291-
// let isVariable = part.match(pattern);
292-
// if (isVariable) {
293-
// return part;
294-
// }
295-
// // return smart_escape(smart_escape(part, /[,\/]/g));
296-
// return encodeURIComponent(part);
297-
// }).join('');
298-
// components.push(parts);
299289
let re = /\$\([a-zA-Z]\w*\)/g;
300290
let start = 0;
301291
let textSource = smart_escape(decodeURIComponent(text), /[,\/]/g);

0 commit comments

Comments
 (0)