File: /home/padewitte/projets/webcomponents/myscript-js/src/output/music/musicAccidental.js
'use strict';
(function (scope) {
/**
* Music accidental
*
* @class MusicAccidental
* @extends MusicElement
* @param {Object} [obj]
* @constructor
*/
function MusicAccidental(obj) {
scope.MusicElement.call(this, obj);
if (obj) {
this.type = obj.type;
}
}
/**
* Inheritance property
*/
MusicAccidental.prototype = new scope.MusicElement();
/**
* Constructor property
*/
MusicAccidental.prototype.constructor = MusicAccidental;
/**
* Get type
*
* @method getType
* @returns {String}
*/
MusicAccidental.prototype.getType = function () {
return this.type;
};
// Export
scope.MusicAccidental = MusicAccidental;
})(MyScript);