We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a282075 commit b8396efCopy full SHA for b8396ef
lib/utils/index.js
@@ -286,16 +286,6 @@ function process_layer(layer) {
286
}
287
288
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);
299
let re = /\$\([a-zA-Z]\w*\)/g;
300
let start = 0;
301
let textSource = smart_escape(decodeURIComponent(text), /[,\/]/g);
0 commit comments