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:
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
|
||||
* 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() {
|
||||
|
Reference in New Issue
Block a user