Skip to content

Commit 81c2543

Browse files
committed
A comment (related to issue #45)
1 parent e947faf commit 81c2543

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/pixel-perfect-actor.js

+3
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,9 @@ var PixelPerfectActor = ActorClass(
279279
onNavigate: function({isTopLevel}) {
280280
Trace.sysout("onNavigate " + isTopLevel);
281281

282+
// xxxHonza: remove anonymous content created for the
283+
// previous page. We need onPreNavigate, perhaps?
284+
282285
if (isTopLevel) {
283286
// Reset all anonymous content built for the previous page.
284287
this.layers.forEach(layer => layer.content = null);

0 commit comments

Comments
 (0)