pebble/pebblejs — pull request #2 by xchrdw (2014-09-07 04:13:51+00:00)
Title: don't throw errors on successful http requests

handle http responses that have a good response code as success. similar to https://github.com/jquery/jquery/blob/master/src/ajax.js#L680