Skip to content

Commit

Permalink
removing local hosting info
Browse files Browse the repository at this point in the history
  • Loading branch information
sethmiles committed Jun 20, 2014
1 parent ba0c484 commit 33228f8
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 307 deletions.
292 changes: 0 additions & 292 deletions index.html

This file was deleted.

13 changes: 3 additions & 10 deletions js/realtime-client-utils.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright 2013 Google Inc. All Rights Reserved.
* Copyright 2014 Google Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -126,15 +126,8 @@ rtclient.Authorizer = function(options) {
*/
rtclient.Authorizer.prototype.start = function(onAuthComplete) {
var _this = this;
gapi.load('auth:client,drive-realtime,drive-share', {
config: {
'drive-realtime': {
'server': 'https://sethhoward0.bld.corp.google.com:4443/otservice'
}
},
callback: function() {
_this.authorize(onAuthComplete);
}
gapi.load('auth:client,drive-realtime,drive-share', function() {
_this.authorize(onAuthComplete);
});
}

Expand Down
6 changes: 2 additions & 4 deletions js/rtpg.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,10 @@
var rtpg = rtpg || {};

/** Your Application ID from the Google APIs Console. */
rtpg.APP_ID = '840867953062';
rtpg.APP_ID = YOUR_APP_ID;

/** Your application's Client ID from the Google APIs Console. */
rtpg.CLIENT_ID = '840867953062.apps.googleusercontent.com';


rtpg.CLIENT_ID = YOUR_CLIENT_ID;

rtpg.realtimeDoc = null;

Expand Down
4 changes: 3 additions & 1 deletion templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,9 @@ <h4>Add, remove or set items on the demo Collaborative List</h4>
<tr>
<td style="text-align: center; color: grey; font-style: italic;">
List items <br />
<select size="9" id="demoListInput"></select>
<ul id="demoListInput">

</ul>
</td>
<td style="padding-left: 20px;">
<button id="demoListRemove" class="rp-button">Remove selected item</button>
Expand Down

0 comments on commit 33228f8

Please sign in to comment.