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