Fix JSDoc warning message

This commit is contained in:
Jürg Lehni 2019-06-22 14:16:49 +02:00
parent fd4cd90a19
commit 68ea63d99e
3 changed files with 5 additions and 3 deletions

@ -1 +1 @@
Subproject commit e311a021c10ff56b98cd95099485d44a29fab51b Subproject commit 6c10a800e2acafdb50b8493c6a67e5cbeec91f10

View file

@ -343,7 +343,9 @@ var Tween = Base.extend(Emitter, /** @lends Tween# */{
return ( return (
operator && operator &&
operator.match && operator.match &&
operator.match(/^[+\-*/]=/) // We're (unnecessarily) escaping '*/' here to not confuse
// the ol' JSDoc parser...
operator.match(/^[+\-\*\/]=/)
) )
? this._calculate(current, operator[0], value[1]) ? this._calculate(current, operator[0], value[1])
: value; : value;

View file

@ -1496,7 +1496,7 @@ new function() { // Injection scope for event handling on the browser
updateFocus: updateFocus, updateFocus: updateFocus,
/** /**
* Clear all events handling state informations. Made for testing * Clear all events handling state information. Made for testing
* purpose, to have a way to start with a fresh state before each * purpose, to have a way to start with a fresh state before each
* test. * test.
* @private * @private