1
0
mirror of https://github.com/flarum/core.git synced 2025-08-06 08:27:42 +02:00

Fix SubtreeRetainer docblock

This commit is contained in:
Alexander Skvortsov
2020-09-04 17:46:30 -04:00
committed by Franz Liedke
parent 07f04c7ba7
commit 398951f282

View File

@@ -26,10 +26,10 @@ export default class SubtreeRetainer {
}
/**
* Return a virtual DOM directive that will retain a subtree if no data has
* changed since the last check.
* Return whether any data has changed since the last check.
* If so, Mithril needs to re-diff the vnode and its children.
*
* @return {Object|false}
* @return {boolean}
* @public
*/
needsRebuild() {