Skip to content

Commit

Permalink
Merge pull request MoSync#397 from divineprog/ThreeTwoOne
Browse files Browse the repository at this point in the history
MOSYNC-2930 Examples: Updated HTML5 examples to use appropriate UTF-8 encoding attributes.
  • Loading branch information
milesm committed Mar 11, 2013
2 parents e17b192 + 62ae5b0 commit 1da8bba
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 13 deletions.
3 changes: 2 additions & 1 deletion examples/html5/PhotoGallery/LocalFiles/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
<html>
<head>
<title>Photo Gallery</title>
<script src="js/wormhole.js"></script>
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<script src="js/wormhole.js" charset="utf-8"></script>
<script type="text/javascript">
var app = (function()
{
Expand Down
1 change: 1 addition & 0 deletions examples/html5/PhotoGallery/LocalFiles/page-about.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<html>
<head>
<meta name="viewport" content="width=device-width">
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<title>About</title>
<link rel="stylesheet" href="style.css">
<style type="text/css">
Expand Down
3 changes: 2 additions & 1 deletion examples/html5/PhotoGallery/LocalFiles/page-camera.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@
<html>
<head>
<meta name="viewport" content="width=device-width">
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<title>Camera</title>
<link rel="stylesheet" href="style.css">
<script src="js/wormhole.js"></script>
<script src="js/wormhole.js" charset="utf-8"></script>
<script type="text/javascript">
var camera = (function()
{
Expand Down
4 changes: 2 additions & 2 deletions examples/html5/PhotoGallery/LocalFiles/page-gallery.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
<html>
<head>
<meta name="viewport" content="width=device-width">
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<title>Gallery</title>
<link rel="stylesheet" href="style.css">
<script src="js/wormhole.js"></script>
<script src="mosync-extensions.js"></script>
<script src="js/wormhole.js" charset="utf-8"></script>
<script>
var gallery = (function()
{
Expand Down
2 changes: 1 addition & 1 deletion examples/html5/WebViewLoveSMS/LocalFiles/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
</style>

<!-- Import the Wormhole JavaScript Library. -->
<script src="js/wormhole.js"></script>
<script src="js/wormhole.js" charset="utf-8"></script>

<script>
// Global variables that hold message content.
Expand Down
12 changes: 6 additions & 6 deletions examples/html5/WebViewTwitter/LocalFiles/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,20 @@
-->
<html>
<head>
<meta name="viewport" content="width=devicewidth; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"/>
<meta name="viewport" content="width=devicewidth, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta http-equiv="Content-type" content="text/html; charset=utf-8">

<title>Twitter Reader</title>

<link rel="stylesheet" href="jquery.mobile/jquery.mobile-1.2.0.min.css" />
<script src="jquery.mobile/jquery-1.8.2.min.js"></script>
<script src="jquery.mobile/jquery.mobile-1.2.0.min.js"></script>

<script src="js/wormhole.js"></script>
<script src="js/mosync.file.js"></script>
<script src="js/wormhole.js" charset="utf-8"></script>
<script src="js/mosync.file.js" charset="utf-8"></script>

<script src="js/mosync.mock.js"></script>
<script src="js/app.js"></script>
<script src="js/app.ui.js"></script>
<script src="js/app.js" charset="utf-8"></script>
<script src="js/app.ui.js" charset="utf-8"></script>

<script>
/**
Expand Down
4 changes: 2 additions & 2 deletions examples/html5/WormholeNativeUI/LocalFiles/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<script src="js/wormhole.js"></script>
<script src="main.js"></script>
<script src="js/wormhole.js" charset="utf-8"></script>
<script src="main.js" charset="utf-8"></script>
<script>
/**
* Called by the NativeUI library when the UI is ready to
Expand Down

0 comments on commit 1da8bba

Please sign in to comment.