MithrilJS / mithril-codemods

jscodeshift-powered mithril@0.2.x to mithril@1.x transformations
MIT License
19 stars 4 forks source link

Take advantage of matchNode/j.match #9

Closed tivac closed 8 years ago

tivac commented 8 years ago

Fixes #8

Also makes the code WAY NICER TO READ :+1:

Huge thanks to @porsager for using this syntax in his PR for #5 and twigging me to this much nicer way to use .find() which lead to me discovering j.match().

I really wish jscodeshift had docs.