jedahan / collections-api

API scraping from the metmuseum website
http://scrAPI.org
36 stars 18 forks source link

Reserved word "yield" #49

Closed donundeen closed 8 years ago

donundeen commented 9 years ago

trying to run coffee -c server.coffee

gets: /Users/undeed/.Trash/collections-api/server.coffee:18:34: error: reserved word "yield"

offending line is cache = ratelimit = -> (next) -> yield next

jedahan commented 9 years ago

I think just using the head version of coffeescript from https://github.com/jashkenas/coffeescript should do it.

jedahan commented 8 years ago

we are using javascript now