cozy/cozy-dev — pull request #33 by bnjbvr (2014-07-31 22:05:29+00:00)
Title: Fix usage of str.match

According to https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/match:

```The returned Array has an extra input property, which contains the original string that was parsed.```

So if there's a match, there should be 2 entries in the array (input + the match), not one. The proof is that later in the code, we use versionMatch[1] :)