mirror of
https://github.com/flarum/core.git
synced 2025-08-06 16:36:47 +02:00
Fix SubtreeRetainer docblock
This commit is contained in:
committed by
Franz Liedke
parent
07f04c7ba7
commit
398951f282
@@ -26,10 +26,10 @@ export default class SubtreeRetainer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return a virtual DOM directive that will retain a subtree if no data has
|
* Return whether any data has changed since the last check.
|
||||||
* changed since the last check.
|
* If so, Mithril needs to re-diff the vnode and its children.
|
||||||
*
|
*
|
||||||
* @return {Object|false}
|
* @return {boolean}
|
||||||
* @public
|
* @public
|
||||||
*/
|
*/
|
||||||
needsRebuild() {
|
needsRebuild() {
|
||||||
|
Reference in New Issue
Block a user