Skip to content

Commit

Permalink
remove my pusher key. also add link to new_alien on aliens page
Browse files Browse the repository at this point in the history
  • Loading branch information
n8 committed Apr 30, 2012
1 parent f4517b5 commit 030af6c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions app/views/aliens.erb
Expand Up @@ -4,6 +4,7 @@
<li><a href="/">home</a></li>
<li><a href="/dinosaurs.html">dinosaurs</a></li>
<li>aliens</li>
<li><a href="/new_alien.html">new alien</a></li>
</ul>

<img src="/img/aliens.jpg" title="aliens">
2 changes: 1 addition & 1 deletion app/views/layout.erb
Expand Up @@ -50,7 +50,7 @@
// Flash fallback logging - don't include this in production
WEB_SOCKET_DEBUG = true;

var pusher = new Pusher('f600b50f55a687b255c6');
var pusher = new Pusher('yourkey');
var channel = pusher.subscribe('local_app_cache');
channel.bind('events_for_group_id_12345', function(data) {
sessionStorage.clear()
Expand Down
1 change: 0 additions & 1 deletion jquery.pjax.js
Expand Up @@ -215,7 +215,6 @@ var pjax = $.pjax = function( options ) {
var data = sessionStorage.getItem(location.pathname + location.hash + location.search)
if(data){
options.context.html(data)
console.log("using cached data")
handlePush(data, options)
return true
}
Expand Down

0 comments on commit 030af6c

Please sign in to comment.