MithrilJS / mithril-codemods

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

Make m.route.get/set transform safer #14

Closed tivac closed 8 years ago

tivac commented 8 years ago

Shouldn't run if m.route has more than 1 arg because we only care about the 0/1 arguments cases.

Fixes #11