Skip to content

Commit

Permalink
chore: update snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
Chen-jj committed Sep 20, 2022
1 parent d747495 commit 63ae9ea
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -666,6 +666,11 @@ require(\\"./taro\\");
var BUBBLE_EVENTS = new Set([ \\"touchStart\\", \\"touchMove\\", \\"touchEnd\\", \\"touchCancel\\", \\"tap\\", \\"longTap\\" ]);
var hostConfig = {
initNativeApi: initNativeApi,
getMiniLifecycle: function getMiniLifecycle(config) {
config.component[0] = \\"didMount\\";
config.component[1] = \\"didUnmount\\";
return config;
},
getEventCenter: function getEventCenter(Events) {
if (!my.taroEventCenter) {
my.taroEventCenter = new Events;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -666,6 +666,11 @@ require(\\"./taro\\");
var BUBBLE_EVENTS = new Set([ \\"touchStart\\", \\"touchMove\\", \\"touchEnd\\", \\"touchCancel\\", \\"tap\\", \\"longTap\\" ]);
var hostConfig = {
initNativeApi: initNativeApi,
getMiniLifecycle: function getMiniLifecycle(config) {
config.component[0] = \\"didMount\\";
config.component[1] = \\"didUnmount\\";
return config;
},
getEventCenter: function getEventCenter(Events) {
if (!my.taroEventCenter) {
my.taroEventCenter = new Events;
Expand Down

0 comments on commit 63ae9ea

Please sign in to comment.