SAP-BTP-Spielwiese/app1/node_modules/jwt-decode/standalone.js
Markus Rettig 775ac7b58c completed step 3 from the tutorial
you must login with an BTP account in order to see the app
2024-02-08 16:13:36 +01:00

16 lines
No EOL
553 B
JavaScript

/*
*
* This is used to build the bundle with browserify.
*
* The bundle is used by people who doesn't use browserify.
* Those who use browserify will install with npm and require the module,
* the package.json file points to index.js.
*/
var jwt_decode = require('./lib/index');
//use amd or just throught to window object.
if (typeof global.window.define == 'function' && global.window.define.amd) {
global.window.define('jwt_decode', function () { return jwt_decode; });
} else if (global.window) {
global.window.jwt_decode = jwt_decode;
}