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 b8396ef commit 0163f36Copy full SHA for 0163f36
lib-es5/utils/index.js
@@ -302,16 +302,6 @@ function process_layer(layer) {
302
}
303
304
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);
315
var re = /\$\([a-zA-Z]\w*\)/g;
316
var start = 0;
317
var textSource = smart_escape(decodeURIComponent(text), /[,\/]/g);
0 commit comments