Skip to content

Commit

Permalink
Include the meta tag stating the charset='utf-8'
Browse files Browse the repository at this point in the history
Include the copyright text for authSample.html
Update documentation.
  • Loading branch information
chirags committed Dec 1, 2011
1 parent 82d424b commit 06cc0fc
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 5 deletions.
23 changes: 21 additions & 2 deletions samples/authSample.html
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,6 +1,25 @@
<!--<!DOCTYPE html>-->
<!--
Copyright (c) 2011 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License"); you may not
use this file except in compliance with the License. You may obtain a copy of
the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
License for the specific language governing permissions and limitations under
the License.
To run this sample, replace YOUR API KEY with your application's API key.
It can be found at https://code.google.com/apis/console/?api=plus under API Access.
-->
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8' />
</head>
<body>
<!--Add a button for the user to click to initiate auth sequence -->
Expand All @@ -10,7 +29,7 @@
// In your Developer Console project, add a JavaScript origin that corresponds to the domain where you will be running the script.
var clientId = 'YOUR CLIENT ID';

// Enter the API key from thr Google Develoepr Console - to handle any unauthenticated requests in the code.
// Enter the API key from the Google Develoepr Console - to handle any unauthenticated requests in the code.
var apiKey = 'YOUR API KEY';

// To enter one or more authentication scopes, refer to the documentation for the API.
Expand Down
3 changes: 2 additions & 1 deletion samples/plusProfileSearch.html
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,12 @@
the License.
To run this sample, replace YOUR API KEY with your application's API key.
It can be found at https://code.google.com/apis/console/ under API Access.
It can be found at https://code.google.com/apis/console/?api=plus under API Access.
-->
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8' />
<script src="https://apis.google.com/js/client.js"></script>
<script>
// Request smaller images from photos to save bandwidth
Expand Down
3 changes: 2 additions & 1 deletion samples/requestSample.html
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,12 @@
the License.
To run this sample, replace YOUR API KEY with your application's API key.
It can be found at https://code.google.com/apis/console/ under API Access.
It can be found at https://code.google.com/apis/console/?api=plus under API Access.
-->
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8' />
<script src="https://apis.google.com/js/client.js"></script>
<script>
function makeRequest() {
Expand Down
3 changes: 2 additions & 1 deletion samples/simpleRequest.html
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,12 @@
the License.
To run this sample, replace YOUR API KEY with your application's API key.
It can be found at https://code.google.com/apis/console/ under API Access.
It can be found at https://code.google.com/apis/console/?api=plus under API Access.
-->
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8' />
<script src="https://apis.google.com/js/client.js"></script>
<script>
function makeRequest() {
Expand Down

0 comments on commit 06cc0fc

Please sign in to comment.