mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Fix the gallery-app
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
import application = require("application");
|
||||
application.mainModule = "app/main-page";
|
||||
application.mainModule = "main-page";
|
||||
application.start();
|
||||
|
||||
@@ -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"),
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<Page loaded="pageLoaded">
|
||||
<Image margin="10" src="~/app/res/telerik-logo.png" verticalAlignment="center" horizontalAlignment="center"/>
|
||||
</Page>
|
||||
<Image margin="10" src="~/res/telerik-logo.png" verticalAlignment="center" horizontalAlignment="center"/>
|
||||
</Page>
|
||||
|
||||
Reference in New Issue
Block a user