Skip to content

Commit 68ea63d

Browse files
committed
Fix JSDoc warning message
1 parent fd4cd90 commit 68ea63d

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

gulp/jsdoc

src/anim/Tween.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,9 @@ var Tween = Base.extend(Emitter, /** @lends Tween# */{
343343
return (
344344
operator &&
345345
operator.match &&
346-
operator.match(/^[+\-*/]=/)
346+
// We're (unnecessarily) escaping '*/' here to not confuse
347+
// the ol' JSDoc parser...
348+
operator.match(/^[+\-\*\/]=/)
347349
)
348350
? this._calculate(current, operator[0], value[1])
349351
: value;

src/view/View.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1496,7 +1496,7 @@ new function() { // Injection scope for event handling on the browser
14961496
updateFocus: updateFocus,
14971497

14981498
/**
1499-
* Clear all events handling state informations. Made for testing
1499+
* Clear all events handling state information. Made for testing
15001500
* purpose, to have a way to start with a fresh state before each
15011501
* test.
15021502
* @private

0 commit comments

Comments
 (0)