Skip to content

Commit

Permalink
cleanup or meta-tags + RootVisual Grid name for plugin use
Browse files Browse the repository at this point in the history
  • Loading branch information
purplecabbage committed Oct 19, 2011
1 parent 949bb7d commit 4030123
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 14 deletions.
7 changes: 1 addition & 6 deletions example/MainPage.xaml
Expand Up @@ -11,15 +11,10 @@
Foreground="{StaticResource PhoneForegroundBrush}" Foreground="{StaticResource PhoneForegroundBrush}"
SupportedOrientations="Portrait" Orientation="Portrait" SupportedOrientations="Portrait" Orientation="Portrait"
shell:SystemTray.IsVisible="True" d:DesignHeight="768" d:DesignWidth="480" xmlns:my="clr-namespace:WP7GapClassLib;assembly=WP7GapClassLib"> shell:SystemTray.IsVisible="True" d:DesignHeight="768" d:DesignWidth="480" xmlns:my="clr-namespace:WP7GapClassLib;assembly=WP7GapClassLib">
<Grid> <Grid x:Name="LayoutRoot" >


<my:PGView Name="pGView1" HorizontalAlignment="Stretch" <my:PGView Name="pGView1" HorizontalAlignment="Stretch"
VerticalAlignment="Stretch"></my:PGView> VerticalAlignment="Stretch"></my:PGView>
<!--<phone:WebBrowser x:Name="GapBrowser"
Loaded="GapBrowser_Loaded"
HorizontalAlignment="Stretch"
VerticalAlignment="Stretch"
IsScriptEnabled="True" />-->


</Grid> </Grid>


Expand Down
2 changes: 1 addition & 1 deletion example/www/index.html
Expand Up @@ -4,7 +4,7 @@


<meta http-equiv="Content-type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=9" /> <meta http-equiv="X-UA-Compatible" content="IE=9" />
<meta name="Viewport" content="width=480" /> <meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0, maximum-scale=1.0, user-scalable=no;" />


<title>PhoneGap - WP7 : Proof of concept</title> <title>PhoneGap - WP7 : Proof of concept</title>
<link rel="stylesheet" type="text/css" href="master.css"/> <link rel="stylesheet" type="text/css" href="master.css"/>
Expand Down
1 change: 0 additions & 1 deletion framework/WP7GapClassLib.csproj
Expand Up @@ -58,7 +58,6 @@
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Compile Include="PhoneGap\Commands\AudioPlayer.cs" /> <Compile Include="PhoneGap\Commands\AudioPlayer.cs" />
<Compile Include="PhoneGap\Commands\ChildBrowserCommand.cs" />
<Compile Include="PhoneGap\Commands\Compass.cs" /> <Compile Include="PhoneGap\Commands\Compass.cs" />
<Compile Include="PhoneGap\Commands\Media.cs" /> <Compile Include="PhoneGap\Commands\Media.cs" />
<Compile Include="PhoneGap\DOMStorageHelper.cs" /> <Compile Include="PhoneGap\DOMStorageHelper.cs" />
Expand Down
8 changes: 2 additions & 6 deletions template/www/index.html
@@ -1,7 +1,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<meta name="viewport" content="width=320; user-scalable=no" /> <meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0, maximum-scale=1.0, user-scalable=no;" />
<meta http-equiv="Content-type" content="text/html; charset=utf-8"/> <meta http-equiv="Content-type" content="text/html; charset=utf-8"/>


<title>PhoneGap WP7</title> <title>PhoneGap WP7</title>
Expand All @@ -28,11 +28,7 @@


<script type="text/javascript"> <script type="text/javascript">



function init()
{
document.addEventListener("deviceready",onDeviceReady,false); document.addEventListener("deviceready",onDeviceReady,false);
}


// once the device ready event fires, you can safely do your thing! -jm // once the device ready event fires, you can safely do your thing! -jm
function onDeviceReady() function onDeviceReady()
Expand All @@ -46,7 +42,7 @@




</head> </head>
<body onLoad="init();"> <body>
<h1>Hello PhoneGap</h1> <h1>Hello PhoneGap</h1>
<div id="welcomeMsg"></div> <div id="welcomeMsg"></div>
</body> </body>
Expand Down

0 comments on commit 4030123

Please sign in to comment.