prismicio / javascript-kit

Development kit for the Javascript language
https://developers.prismic.io
106 stars 69 forks source link

Legacy support #124

Closed alexandrebodin closed 8 years ago

alexandrebodin commented 8 years ago

Hi

In the follow code https://github.com/prismicio/javascript-kit/blob/3.1.3/lib/prismic.js#L29-L36

I believe you missed an index in the options.

You jumped form arguments[2] to arguments[4] thus offsetting the configuration and It's actually breaking compatibility.

erwan commented 8 years ago

done, thank you for the report!