跳到主要内容

升级 revealCompletedBoundaries 指令以支持 ViewTransitions。

备注

被使用于 scripts/rollup/generate-inline-fizz-runtime.js 29 行

// Upgrade the revealCompletedBoundaries instruction to support ViewTransitions.
// 升级 revealCompletedBoundaries 指令以支持 ViewTransitions。
// This is a string so Closure's advanced compilation mode doesn't mangle it.
// 这是一个字符串,所以 Closure 的高级编译模式不会破坏它。
window['$RV'] = revealCompletedBoundariesWithViewTransitions.bind(
null,
window['$RV'],
);