apiaryio / language-templates

Language templates used to render example HTTP calls in different languages
http://apiaryio.github.io/language-templates
MIT License
35 stars 18 forks source link

modify templates to improve feedback #3

Closed mamund closed 12 years ago

mamund commented 12 years ago

Modified javascript and node.js templates to include HTTP.STATUSCODE and HTTP.RESPONSE.HEADERS in display of results.

Also dropped the use of this.status==200 on javascript XHR block so that results of 201, 204, etc. still get displayed.

Almad commented 12 years ago

True, this is more useful. Thanks.

mamund commented 12 years ago

your welcome. :)

mamund commented 12 years ago

@Almad

any idea when this will hit the live site?

mamund commented 12 years ago

@Almad

ahh, i see it just deployed.

thanks.

Almad commented 12 years ago

@mamund Sorry, I forgot to update submodules; I just deployed it few minutes ago.

mamund commented 12 years ago

@Almad no problem at all. thanks.