Sha256: 0063249b9fa9f07f1edf590a63928fb8c7353e88bd5f86d6d667ee8df7364179
Contents?: true
Size: 470 Bytes
Versions: 10
Compression:
Stored size: 470 Bytes
Contents
define("my-package/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