George Zahariev
George Zahariev
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...
Actually, I will keep this open as a documentation issue
It's being very literal. The text for property "b" does not include the comma in between, so it does not replace the comma.
Good question! I plan on writing a couple of blog posts going through several use cases with grasp. The first one will be on how to easily refactor code using...
I added an initial section to the FAQ, and added a link to it from the home page. http://graspjs.com/faq/#what_are_some_use_cases edit: github does not deal with daylight savings time very well!...
Yes that's another good example - we can't create new syntax, but we can change any current syntax to something completely different. For instance, you could change a call to...
Here's the first blog post I wanted to write, with some examples of using Grasp to refactor: http://graspjs.com/blog/2014/01/07/refactoring-javascript-with-grasp/
There is no way to do so currently using equery, you can do it some of it with squery: ``` grasp 'call[callee=member[obj=#$stateProvider][prop=#state]]' ```
A single underscore should work
equery is good at this, `grasp -e '[]'` `grasp -e '{}'`