Fix cuteness application

This commit is contained in:
Erjan Gavalji
2015-03-21 16:51:21 +02:00
parent fdf8937c5d
commit f7c62c085e
2 changed files with 2 additions and 2 deletions

View File

@@ -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();

View File

@@ -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)
});
}