- custom server url (https://lookup-signin.herokuapp.com) in Grunfile.js envify section
- jquery-lite is excluded from dist bundle (dist/oauth.js) as well as redundant Q, which greatly decreased file size (uncompressed: 218 kB -> 52 kB).
The last change is done in pretty clumsy way (will be appreciate for more elegant hint): in core.coffee getJquery is modified to return global jQuery variable - so it works in assumption, that global jQuery is available.
If you are using RequireJS config can look like:
shim:'jquery':exports: 'jQuery''oauth-js':deps: 'jquery'exports: 'OAuth'paths:'jquery': 'libs/jquery/dist/jquery''oauth-js': 'libs/lookup-oauth-js/dist/oauth'
...and futher using like:
2015-08-13: initital 0.4.3 version 2015-08-13: 0.4.4 version: removing Q dependency; dist file size decreased (uncompressed: 115 kB -> 52 kB)
This SDK is published under the Apache2 License.
More information in oauth.io documentation