Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

remove my pusher key. also add link to new_alien on aliens page

  • Loading branch information...
commit 030af6c25ec49cf973db1cbf2150fc293ca8d447 1 parent f4517b5
nate authored
Showing with 2 additions and 2 deletions.
  1. +1 −0  app/views/aliens.erb
  2. +1 −1  app/views/layout.erb
  3. +0 −1  jquery.pjax.js
View
1  app/views/aliens.erb
@@ -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">
View
2  app/views/layout.erb
@@ -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()
View
1  jquery.pjax.js
@@ -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
}
Please sign in to comment.
Something went wrong with that request. Please try again.