Sha256: 6f09294c46b43b5320fb45a285df897fc8013ed8fbfcbd26b00fcbcd982cfe3b

Contents?: true

Size: 392 Bytes

Versions: 10

Compression:

Stored size: 392 Bytes

Contents

window.require.define({"my_fancy_module": function(exports, require, module) {

"use strict";
var Point = require("math").Point;
var pow = require("math").pow;
var sqrt = require("math").sqrt;

function Segment(start, end) {
  this.start = start;
  this.end = end;

  this.distance = sqrt(
    pow(start.x - end.x, 2) +
    pow(start.y - end.y, 2)
  );
}

exports["default"] = Segment;

}});

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
embork-0.0.13 spec/embork/sprockets/es6_module_transpiler/compiled_cjs.js
embork-0.0.12 spec/embork/sprockets/es6_module_transpiler/compiled_cjs.js
embork-0.0.11 spec/embork/sprockets/es6_module_transpiler/compiled_cjs.js
embork-0.0.10 spec/embork/sprockets/es6_module_transpiler/compiled_cjs.js
embork-0.0.9 spec/embork/sprockets/es6_module_transpiler/compiled_cjs.js
embork-0.0.8 spec/embork/sprockets/es6_module_transpiler/compiled_cjs.js
embork-0.0.7 spec/embork/sprockets/es6_module_transpiler/compiled_cjs.js
embork-0.0.6 spec/embork/sprockets/es6_module_transpiler/compiled_cjs.js
embork-0.0.5 spec/embork/sprockets/es6_module_transpiler/compiled_cjs.js
embork-0.0.4 spec/embork/sprockets/es6_module_transpiler/compiled_cjs.js