Permalink
Browse files

cleanup

  • Loading branch information...
1 parent b388f03 commit 247277d61063353244b368c9cd3601aaba3f426a @thejefflarson thejefflarson committed Sep 7, 2010
@@ -1,7 +1,6 @@
<!DOCTYPE html>
<html>
<head>
-
<%= include_stylesheets :all %>
<%= include_javascripts :all %>
<title>Pixel Ping</title>
View
@@ -1,4 +1,5 @@
embed_assets: on
+javascript_compressor: closure
javascripts:
all:
View
@@ -8,7 +8,7 @@
config.gem "curb", :lib => "curl"
config.gem "jammit"
config.time_zone = 'Eastern Time (US & Canada)'
-
+
end
PIXEL_CONFIG = JSON.parse(File.read("#{Rails.root}/config/pixel-ping.#{Rails.env}.json")).symbolize_keys
PIXEL_SECRET = PIXEL_CONFIG[:secret]
@@ -0,0 +1,15 @@
+# Be sure to restart your server when you modify this file.
+
+# Your secret key for verifying cookie session data integrity.
+# If you change this key, all old sessions will become invalid!
+# Make sure the secret is at least 30 characters and all random,
+# no regular words or you'll be exposed to dictionary attacks.
+ActionController::Base.session = {
+ :key => '_pixeltracker_session',
+ :secret => 'b3c035c75f01407d60f6546be4a81bfff96e915ea60dfe8982ea5fc06fdd6669dcd4be07f9a788a60f3943630eb3c874d0d6df68153cb95e027f9933936c2ff6'
+}
+
+# Use the database for sessions instead of the cookie-based default,
+# which shouldn't be used to store highly confidential information
+# (create the session table with "rake db:sessions:create")
+# ActionController::Base.session_store = :active_record_store
View
Deleted file not rendered
@@ -1,4 +1,4 @@
-(function($){
+(function(){
_.extend(pixelpong.app, {
VERSION : '0.2.1', // update on commit
live : [],
@@ -20,8 +20,8 @@
return window.pp_initialized = true;
}
});
-})(jQuery);
+})();
-jQuery(document).ready(function($){
+$(document).ready(function(){
pixelpong.app.initialize();
});
@@ -3,7 +3,7 @@
(function(){
var initializing = false, fnTest = /xyz/.test(function(){xyz;}) ? /\b_super\b/ : /.*/;
// The base Base implementation (does nothing)
- this.Base = function(){};
+ window["Base"] = this.Base = function(){};
// Create a new Base that inherits from this Base
Base.extend = function(prop) {
@@ -59,4 +59,4 @@
return Base;
};
-})();
+})();
Oops, something went wrong.

0 comments on commit 247277d

Please sign in to comment.