Skip to content
This repository has been archived by the owner on Jan 26, 2023. It is now read-only.

Commit

Permalink
clean-up logs, revert unnecessary changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mcbouslog committed Mar 14, 2017
1 parent ff7e241 commit dec4bc2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/json-api-client.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ class JSONAPIClient extends Model
mergeInto this, mixins

beforeEveryRequest: ->
console.log 'using GitHub branch of json-api-client'
Promise.resolve();

request: (method, url, payload, headers) ->
Expand Down Expand Up @@ -102,9 +101,9 @@ class JSONAPIClient extends Model
if attributeTypeName?
type._links[attributeName].type = attributeTypeName

handleError: (err) ->
handleError: ->
# Override this as necessary.
Promise.reject err
Promise.reject arguments...

type: (name) ->
@_typesCache[name] ?= new Type name, this
Expand Down

0 comments on commit dec4bc2

Please sign in to comment.