willfarrell / alfred-caniuse-workflow

Alfred App Workflow for caniuse.com
MIT License
405 stars 23 forks source link

Fix improper version reporting and change check #8

Closed mcdado closed 9 years ago

mcdado commented 9 years ago

Before: alfred-caniuse-before

After: alfred-caniuse-after

The check was invalidated because $version was a string, checking against the version key would not work. I changed the check to strpos because sometimes there are notes, the whole string wouldn't match.

willfarrell commented 9 years ago

Good catch, thanks for the PR.