Skip to content

Commit 0163f36

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

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

lib-es5/utils/index.js

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

304304
if (!isEmpty(text)) {
305-
// const pattern = /(\$\([a-zA-Z]\w+\))/g;
306-
// const parts = text.split(pattern).filter(x => x !== '').map(part => {
307-
// let isVariable = part.match(pattern);
308-
// if (isVariable) {
309-
// return part;
310-
// }
311-
// // return smart_escape(smart_escape(part, /[,\/]/g));
312-
// return encodeURIComponent(part);
313-
// }).join('');
314-
// components.push(parts);
315305
var re = /\$\([a-zA-Z]\w*\)/g;
316306
var start = 0;
317307
var textSource = smart_escape(decodeURIComponent(text), /[,\/]/g);

0 commit comments

Comments
 (0)