From 350a15018096a5436468d11fd8a7353e1066ed48 Mon Sep 17 00:00:00 2001 From: Erjan Gavalji Date: Tue, 24 Mar 2015 13:24:14 +0200 Subject: [PATCH] Fix the gallery-app --- apps/gallery-app/app.ts | 2 +- apps/gallery-app/main-page.ts | 4 ++-- apps/gallery-app/views/image.xml | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/gallery-app/app.ts b/apps/gallery-app/app.ts index 83670f56b..cb572300b 100644 --- a/apps/gallery-app/app.ts +++ b/apps/gallery-app/app.ts @@ -1,3 +1,3 @@ import application = require("application"); -application.mainModule = "app/main-page"; +application.mainModule = "main-page"; application.start(); diff --git a/apps/gallery-app/main-page.ts b/apps/gallery-app/main-page.ts index 714eecd3e..851a26cec 100644 --- a/apps/gallery-app/main-page.ts +++ b/apps/gallery-app/main-page.ts @@ -3,7 +3,7 @@ import frame = require("ui/frame"); export function itemTap(args: observable.EventData) { frame.topmost().navigate({ - moduleName: "app/" + args.object.get("tag"), + moduleName: "" + args.object.get("tag"), }); } - \ No newline at end of file + diff --git a/apps/gallery-app/views/image.xml b/apps/gallery-app/views/image.xml index cbf278d45..da1c2057d 100644 --- a/apps/gallery-app/views/image.xml +++ b/apps/gallery-app/views/image.xml @@ -1,4 +1,4 @@ - - \ No newline at end of file + +