Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Commit 5919875

Browse files
author
Gabriel Schulhof
committed
Pagecontainer: Move "pageinit" event to deprecated section
1 parent f83a9c3 commit 5919875

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/integration/pagecontainer/page_event_sequence_core.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ var eventSequence,
1313
"pagehide",
1414
"pageshow",
1515
"pagechange",
16+
"pageinit",
1617

1718
// Valid as of 1.4.x
1819
"pagecontainerbeforechange",
@@ -21,7 +22,6 @@ var eventSequence,
2122
"pagecontainerloadfailed",
2223
"pagebeforecreate",
2324
"pagecreate",
24-
"pageinit",
2525
"pagecontainerbeforetransition",
2626
"pagecontainerbeforehide",
2727
"pagecontainerbeforeshow",
@@ -109,6 +109,8 @@ asyncTest( "Event sequence during navigation to another page", function() {
109109
data: { prevPage: undefined, nextPage: undefined, toPage: undefined } },
110110
{ type: "pagecreate", target: "other-page",
111111
data: { prevPage: undefined, nextPage: undefined, toPage: undefined } },
112+
113+
// Deprecated as of 1.4.0
112114
{ type: "pageinit", target: "other-page",
113115
data: { prevPage: undefined, nextPage: undefined, toPage: undefined } },
114116

0 commit comments

Comments
 (0)