assaf/node-passbook — pull request #1 by aschuch (2012-10-14 19:53:48+00:00)
Title: Validation Error when creating a pass of type boardingPass

"boardingPass" is the first element in the STYLES array, therefore

```javascript
!STYLES.indexOf(style)
```
would always return true for element at position 0 and an error is thrown.