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

Version Path
authing_ruby-1.1.4 lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/standalone.js
authing_ruby-1.1.3 lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/standalone.js
authing_ruby-1.1.2 lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/standalone.js
authing_ruby-1.1.1 lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/standalone.js
authing_ruby-1.1.0 lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/standalone.js
authing_ruby-1.0.9 lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/standalone.js
authing_ruby-1.0.8 lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/standalone.js
authing_ruby-1.0.7 lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/standalone.js
authing_ruby-1.0.6 lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/standalone.js