Skip to content

Convert library to AMD and CommonJS module. Updated the LuminateExtend library to respond to ajax errors. Updated version number text to 1.8.1. Added package.json and bower.json file for publishing#79

Open
rxnlabs wants to merge 5 commits intoconvio:masterfrom
rxnlabs:master

Conversation

@rxnlabs
Copy link

@rxnlabs rxnlabs commented Feb 23, 2017

Added support for LuminateExtend to handle ajax errors when making a request to the Luminate API.

When making a request to the Luminate API causes a HTTP error (e.g. cross-site domain requests), neither the success callback nor the error callback would be called. This causes confusion since you would have no idea why your Ajax request failed since your handler would not be called.

Updated README with NPM installation method

…d library to respond to ajax errors. Updated version number text to 1.8.1. Added package.json and bower.json file for publishing

When making a request to the Luminate API and an HTTP error occurs (e.g. cross-site domain requests), neither the success callback nor the error callback are called. This causes confusion since you would have no idea why your Ajax request failed since your handler would not be called.

Updated README with NPM installation method
…uth() method when no callback is passed

If no callback is passed to the luminateExtend.api.getAuth() method, the auth token and auth type should just be returned. This is useful in cases where we're just looking to return the cached authorization token and we don't need to wait on an ajax call to do that
…returns the authorization type and the token
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant