From f7c62c085ef9b079214c9c1a31874face3cb3967 Mon Sep 17 00:00:00 2001 From: Erjan Gavalji Date: Sat, 21 Mar 2015 16:51:21 +0200 Subject: [PATCH] Fix cuteness application --- apps/cuteness.io/app.ts | 2 +- apps/cuteness.io/main-page.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/cuteness.io/app.ts b/apps/cuteness.io/app.ts index 643df21ff..cf98170d1 100644 --- a/apps/cuteness.io/app.ts +++ b/apps/cuteness.io/app.ts @@ -1,7 +1,7 @@ import application = require("application"); // Set the start module for the application -application.mainModule = "app/main-page"; +application.mainModule = "/main-page"; // Start the application application.start(); diff --git a/apps/cuteness.io/main-page.ts b/apps/cuteness.io/main-page.ts index b0dd9e7e0..ea33764a7 100644 --- a/apps/cuteness.io/main-page.ts +++ b/apps/cuteness.io/main-page.ts @@ -23,7 +23,7 @@ export function pageLoaded(args: observable.EventData) { export function listViewItemTap(args: listView.ItemEventData) { // Navigate to the details page with context set to the data item for specified index frames.topmost().navigate({ - moduleName: "app/details-page", + moduleName: "./details-page", context: appViewModel.redditItems.getItem(args.index) }); }