fix #1092 improve deprecation of IO.useXHRHeader #1092

Merged
merged 1 commit into from Apr 15, 2014

Projects

None yet

2 participants

@jakub-g

Don't log warnings after the user migrated to the new syntax

Note the default value of this.headers

https://github.com/jakub-g/ariatemplates/blob/useXhrHeader-deprecation/src/aria/core/IO.js#L161-163

@jakub-g jakub-g fix #1092 improve deprecation of IO.useXHRHeader
Don't log warnings after the user migrated to the new syntax
c9dc697
@jakub-g jakub-g added this to the 1.5.2 milestone Apr 15, 2014
@benouat
Aria Templates member

This change is fine for me. You could integrate it.

It's indeed a nice addition to be able to not log anything if the user is already compliant with the new syntax.

@jakub-g jakub-g merged commit c9dc697 into ariatemplates:master Apr 15, 2014

1 check passed

Details continuous-integration/travis-ci The Travis CI build passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment