You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You are mixing equery selector with squery replacement selector. There is not option allowing you to mix them at the moment. If you want to use equery to select, you must use its replacement syntax. Eg.
const grasp = require("grasp");
let code = `var a = 1 + 2`;
const replacer = grasp.replace('equery', '$a + $b', '{{a}} - {{b}}');
let processed = replacer(code);
console.log(processed);
I'm trying to make the following work, taking the examples from your main docs on lib usage
This works
But here I get an error
Why is
.l
not working? deprecated?Test runner result:
The text was updated successfully, but these errors were encountered: