File: /home/padewitte/projets/webcomponents/myscript-js/src/output/music/musicElement.js
'use strict';
(function (scope) {
/**
* Abstract music element
*
* @class MusicElement
* @param {Object} [obj]
* @constructor
*/
function MusicElement(obj) {
if (obj) {
this.inputRanges = [];
this.elementType = obj.elementType;
this.inputRanges = obj.inputRanges;
}
}
/**
* Get element type
*
* @method getElementType
* @returns {String}
*/
MusicElement.prototype.getElementType = function () {
return this.elementType;
};
/**
* Get input ranges
*
* @method getInputRanges
* @returns {MusicInputRange[]}
*/
MusicElement.prototype.getInputRanges = function () {
return this.inputRanges;
};
// Export
scope.MusicElement = MusicElement;
})(MyScript);