File: /home/padewitte/projets/webcomponents/myscript-js/src/output/math/mathNode.js
'use strict';
(function (scope) {
/**
* Math node
*
* @class MathNode
* @param {Object} [obj]
* @constructor
*/
function MathNode(obj) {
if (obj) {
this.name = obj.name;
this.type = obj.type;
}
}
/**
* Get name
*
* @method getName
* @returns {String}
*/
MathNode.prototype.getName = function () {
return this.name;
};
/**
* Get type
*
* @method getType
* @returns {String}
*/
MathNode.prototype.getType = function () {
return this.type;
};
// Export
scope.MathNode = MathNode;
})(MyScript);