StructureJS
0.12.0A class based utility library for building modular and scalable web platform applications. Features opt-in classes and utilities which provide a solid foundation and toolset to build your next project.
(function (factory) { if (typeof module === 'object' && typeof module.exports === 'object') { var v = factory(require, exports); if (v !== undefined) module.exports = v; } else if (typeof define === 'function' && define.amd) { define(["require", "exports"], factory); } })(function (require, exports) { "use strict"; /** * The Point object represents a location in a two-dimensional coordinate system, where x represents the horizontal axis and y represents the vertical axis. * * @class Point * @module StructureJS * @submodule geom * @constructor * @author Robert S. (www.codeBelt.com) */ var Point = (function () { function Point(x, y) { if (x === void 0) { x = 0; } if (y === void 0) { y = 0; } /** * The horizontal coordinate of the point. * * @property x * @type {number} * @public */ this.x = 0; /** * The vertical coordinate of the point. * * @property y * @type {number} * @public */ this.y = 0; this.x = x; this.y = y; } return Point; }()); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = Point; });