Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
return steal.import('~/pages/restaurant/list/').then(({default: RestaurantList}) => {
return new RestaurantList();
});
}
case 'order-history': {
return steal.import('~/pages/order/history.component').then(({default: OrderHistory}) => {
return new OrderHistory();
});
}
}
}
});
route.urlData = new RoutePushstate();
route.register("{page}", { page: "home" });
route.register('{page}/{slug}', { slug: null });
route.register('{page}/{slug}/{action}', { slug: null, action: null });
export default AppViewModel;
default() {
route.register("{page}", { page: "home" });
route.register("tasks/{taskId}", { page: "tasks" });
route.start();
return route.data;
}
},
default() {
route.register("{page}", { page: "home" });
route.register("tasks/{taskId}", { page: "tasks" });
route.start();
return route.data;
}
},
<style></style>
});
}
case 'order-history': {
return steal.import('~/pages/order/history.component').then(({default: OrderHistory}) => {
return new OrderHistory();
});
}
}
}
});
route.urlData = new RoutePushstate();
route.register("{page}", { page: "home" });
route.register('{page}/{slug}', { slug: null });
route.register('{page}/{slug}/{action}', { slug: null, action: null });
export default AppViewModel;
action: 'string',
env: {
default: () => ({NODE_ENV:'development'})
},
title: {
default: 'place-my-order'
},
routeData: {
default: () => route.data
}
});
route.urlData = new RoutePushstate();
route.register("{page}", { page: "home" });
route.register('{page}/{slug}', { slug: null });
route.register('{page}/{slug}/{action}', { slug: null, action: null });
export default AppViewModel;
page: 'string',
slug: 'string',
action: 'string',
env: {
default: () => ({NODE_ENV:'development'})
},
title: {
default: 'place-my-order'
},
routeData: {
default: () => route.data
}
});
route.urlData = new RoutePushstate();
route.register("{page}", { page: "home" });
route.register('{page}/{slug}', { slug: null });
route.register('{page}/{slug}/{action}', { slug: null, action: null });
export default AppViewModel;
return steal.import('~/pages/restaurant/list/').then(({default: RestaurantList}) => {
return new RestaurantList();
});
}
case 'order-history': {
return steal.import('~/pages/order/history.component').then(({default: OrderHistory}) => {
return new OrderHistory();
});
}
}
}
});
route.urlData = new RoutePushstate();
route.register("{page}", { page: "home" });
route.register('{page}/{slug}', { slug: null });
route.register('{page}/{slug}/{action}', { slug: null, action: null });
export default AppViewModel;
});
}
case 'order-history': {
return steal.import('~/pages/order/history.component').then(({default: OrderHistory}) => {
return new OrderHistory();
});
}
}
}
});
route.urlData = new RoutePushstate();
route.register("{page}", { page: "home" });
route.register('{page}/{slug}', { slug: null });
route.register('{page}/{slug}/{action}', { slug: null, action: null });
export default AppViewModel;