Sha256: 5f16065d9ce1766a86a3d0f9e046e3869a9b2a75e1c5988d86afd7fcb5fb3f8e

Contents?: true

Size: 371 Bytes

Versions: 11

Compression:

Stored size: 371 Bytes

Contents

var generator = require('..');

var gen = generator()
  .addMappings('foo.js', [{ original: { line: 2, column: 3 } , generated: { line: 5, column: 10 } }], { line: 5 })
  .addGeneratedMappings('bar.js', 'var a = 2;\nconsole.log(a)', { line: 23, column: 22 });

console.log('base64 mapping', gen.base64Encode());
console.log('inline mapping url', gen.inlineMappingUrl());

Version data entries

11 entries across 11 versions & 4 rubygems

Version Path
minimum_viable_product-0.0.11 test/dummy/node_modules/inline-source-map/example/foo-bar.js
brwy_rails-0.0.6 test/dummy/node_modules/inline-source-map/example/foo-bar.js
brwy_rails-0.0.5 test/dummy/node_modules/inline-source-map/example/foo-bar.js
brwy_rails-0.0.4 test/dummy/node_modules/inline-source-map/example/foo-bar.js
brwy_rails-0.0.3 test/dummy/node_modules/inline-source-map/example/foo-bar.js
brwy_rails-0.0.2 test/dummy/node_modules/inline-source-map/example/foo-bar.js
brwy_rails-0.0.1 test/dummy/node_modules/inline-source-map/example/foo-bar.js
sprockets-browserify-0.3.0 node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/example/foo-bar.js
sprockets-browserify-0.2.0 node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/example/foo-bar.js
ruby-wisp-source-0.8.0 vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/example/foo-bar.js
ruby-wisp-source-0.7.0 vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/example/foo-bar.js