cheeaun/node-hnapi — Issue #2: callback is prepended pre-caching 
Author: digitarald
Created: 2012-03-05 22:11:51+00:00
State: open

First cool stuff, found it in my feed.

Just notices this while snooping your code. callback is prepended for JSONP before caching, but again when loaded from cache:

Before set: https://github.com/cheeaun/node-hnapi/blob/master/server.js#L87

After get: https://github.com/cheeaun/node-hnapi/blob/master/server.js#L44

You end up with 2 callbacks; just open http://node-hnapi.herokuapp.com/newest?callback=hello and refresh.