Minor cleaning

JI-92-path-fix
Paal Joergensen 2017-01-30 08:43:47 +01:00
parent 9abe7ef321
commit 6ab68eb6e2
1 changed files with 5 additions and 2 deletions

View File

@ -19,6 +19,9 @@ H5P.ActionBar = (function ($, EventDispatcher) {
* @param {string} customClass Instead of type class
*/
var addActionButton = function (type, customClass) {
/**
* Handles selection of action
*/
var handler = function () {
self.trigger(type);
};
@ -78,8 +81,8 @@ H5P.ActionBar = (function ($, EventDispatcher) {
*/
self.hasActions = function () {
return hasActions;
}
};
}
ActionBar.prototype = Object.create(EventDispatcher.prototype);
ActionBar.prototype.constructor = ActionBar;