1.0.4 • Published 7 years ago

karmadata-developers-site v1.0.4

Weekly downloads
1
License
ISC
Repository
github
Last release
7 years ago

karmadata-developers-site

Utilities for supporting developers.karmadata.com. Currently this package is only used to generate CDN package via unpkg.

dev-token.js - obtains developer token

This CDN script injects functions that obtain developer token.

getDevToken(callback)

it makes an AJAX request to Thorz.com to obtain an access token suitable for demo use.

  • callback(token) - this function is called when token is successfully obtained. The token is passed in as a parameter