erunion / showtimes

[deprecated] a movie showtimes API
MIT License
52 stars 14 forks source link

Language support #19

Closed berkaytheunicorn closed 9 years ago

berkaytheunicorn commented 9 years ago

I added default language support and merged it to master.

erunion commented 9 years ago

Two minor fixes and then I think this is good to be merged in:

  1. Can you change this.lang to no longer be defined, but set up similar to how self.date is by grabbing it as date: (typeof self.date !== 'undefined') ? self.date : 0,? You're passing in the location as the default language right now, so something like 94105 will be set as that instead of en.
  2. Can you update the API section of the Readme to show that custom languages are a feature?

Thanks!

erunion commented 9 years ago

Changes made in #20.