Sha256: 713153ddade377423e8cc3019710ac17cc366c135554c55ac12be0549cfe1be6
Contents?: true
Size: 553 Bytes
Versions: 9
Compression:
Stored size: 553 Bytes
Contents
/* * * 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; }
Version data entries
9 entries across 9 versions & 1 rubygems