这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@raminbp
Copy link

@raminbp raminbp commented Mar 15, 2016

a new parameter has been added to report method called ajaxOptions, if the object contains a headers property the headers will be added to the request headers.

eg:

{
  headers: {
      'Authorization' : 'token'
  }
}

The report method adds the "Authorization" header to the request.

ssenbud and others added 26 commits September 20, 2015 07:40
Includes JSON3 in the polyfill version
Fixes stacktracejs#133
@oliversalzburg
Copy link
Member

Looks nice 👍

@raminbp
Copy link
Author

raminbp commented Mar 15, 2016

Thank you, it helps a lot on Restful APIs.
I think we can augment it more and more. what do you think?

@eriwen
Copy link
Member

eriwen commented Mar 25, 2016

This implementation looks good. I've love to merge this if you wouldn't mind adding a unit test and updating the README to add the optional argument to StackTrace.report(). Let us know if we can help with testing.

@raminbp
Copy link
Author

raminbp commented Mar 25, 2016

yes, it would be great.

@eriwen
Copy link
Member

eriwen commented Dec 18, 2016

This change was implemented by 2e8dbc2 — closing as superseded. Thank you @raminbp.

@eriwen eriwen closed this Dec 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants