MithrilJS / mithril-codemods

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

buildQueryString/parseQueryString #30

Closed tivac closed 7 years ago

tivac commented 7 years ago

Original Source

m.route.buildQueryString({ ... })
m.route.parseQueryString("...")

Tool Output

m.route.buildQueryString({ ... })
m.route.parseQueryString("...")

Expected Output

m.buildQueryString({ ... })
m.parseQueryString("...")
tivac commented 7 years ago

Still needs to be documented now that https://github.com/lhorie/mithril.js/pull/1594 has been submitted. Will need to regenerate mithril.js.org before the anchor would work though.

tivac commented 7 years ago

Last bit fixed in a0fad33f08a31fd38cabc116e7a6f13f70ee101a