mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2024-12-29 09:22:22 -05:00
Fix JSDoc warning message
This commit is contained in:
parent
fd4cd90a19
commit
68ea63d99e
3 changed files with 5 additions and 3 deletions
|
@ -1 +1 @@
|
||||||
Subproject commit e311a021c10ff56b98cd95099485d44a29fab51b
|
Subproject commit 6c10a800e2acafdb50b8493c6a67e5cbeec91f10
|
|
@ -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;
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue