Sha256: b12e4c334ca045dfcc8404bca4610fa99fefd06cb83f15add90c7c63507a59fb

Contents?: true

Size: 459 Bytes

Versions: 10

Compression:

Stored size: 459 Bytes

Contents

define("my_fancy_module",
  ["math","exports"],
  function(__dependency1__, __exports__) {
    "use strict";
    var Point = __dependency1__.Point;
    var pow = __dependency1__.pow;
    var sqrt = __dependency1__.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_amd.js
embork-0.0.12 spec/embork/sprockets/es6_module_transpiler/compiled_amd.js
embork-0.0.11 spec/embork/sprockets/es6_module_transpiler/compiled_amd.js
embork-0.0.10 spec/embork/sprockets/es6_module_transpiler/compiled_amd.js
embork-0.0.9 spec/embork/sprockets/es6_module_transpiler/compiled_amd.js
embork-0.0.8 spec/embork/sprockets/es6_module_transpiler/compiled_amd.js
embork-0.0.7 spec/embork/sprockets/es6_module_transpiler/compiled_amd.js
embork-0.0.6 spec/embork/sprockets/es6_module_transpiler/compiled_amd.js
embork-0.0.5 spec/embork/sprockets/es6_module_transpiler/compiled_amd.js
embork-0.0.4 spec/embork/sprockets/es6_module_transpiler/compiled_amd.js