davidchambers / tutor

JavaScript interface for the Gatherer card database
https://gatherer.wizards.com/
Do What The F*ck You Want To Public License
149 stars 18 forks source link

Fix case sensitive search on back side of double-sided cards #57

Closed eeble closed 11 years ago

eeble commented 11 years ago

Searches for the back side of a double-sided card would fail when the search term was not exactly (===) the same. So, 'huntmaster of the fells' would return the correct values, but 'ravager of the fells' would not, 'Ravager of the Fells' however, would.

I included a couple tests that fail in the previous version but work in my version.

davidchambers commented 11 years ago

Thanks for the tidy patch, @eeble.

eeble commented 11 years ago

I fixed these issues but in order to have testcli pass, you need to nuke the .js files in lib and rebuild. I didn't check in the updated .js files, but I can.

davidchambers commented 11 years ago

Closed via f5789726e14b058083193c4730cf354c6e287cfa. Thanks again for the patch.