adhere to JSDoc style

pull/15/head
otacke 2016-10-03 17:07:41 +02:00
parent 996b5e31f3
commit 3b04b43972
1 changed files with 4 additions and 4 deletions

View File

@ -18,11 +18,11 @@ H5P.MemoryGame = (function (EventDispatcher, $) {
var removed = 0; var removed = 0;
/** /**
* Update the time on the screen * Update the time on the screen.
* *
* @private * @private
* @param {H5P.jQuery} $container - element to be updated * @param {H5P.jQuery} $container - element to be updated.
* @param {H5P.Timer} timer - the timer containing the time * @param {H5P.Timer} timer - the timer containing the time.
*/ */
var updateDisplayTime = function($container, timer) { var updateDisplayTime = function($container, timer) {
var time = timer.getTime(); var time = timer.getTime();
@ -160,7 +160,7 @@ H5P.MemoryGame = (function (EventDispatcher, $) {
'</dl>').appendTo($container); '</dl>').appendTo($container);
timer = new H5P.Timer(100); timer = new H5P.Timer(100);
timer.notifyEvery(H5P.Timer.TYPE_CLOCK, 0, 1000, updateDisplayTime, [$status.find('.h5p-time-spent'), timer]); timer.notifyEvery(H5P.Timer.TYPE_CLOCK, 0, 500, updateDisplayTime, [$status.find('.h5p-time-spent'), timer]);
counter = new MemoryGame.Counter($status.find('.h5p-card-turns')); counter = new MemoryGame.Counter($status.find('.h5p-card-turns'));
popup = new MemoryGame.Popup($container); popup = new MemoryGame.Popup($container);