Skip to content

Commit

Permalink
Merge branch 'master' of github.com:zackster/CompassionPit--Node-
Browse files Browse the repository at this point in the history
  • Loading branch information
ckknight committed May 26, 2011
2 parents a4aab0a + 84db305 commit 2f8da54
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 2 deletions.
11 changes: 11 additions & 0 deletions views/chat.jade
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
script
//- Google Website Optimizer Tracking Script
var _gaq = _gaq || [];
_gaq.push(['gwo._setAccount', 'UA-17971348-2']);
_gaq.push(['gwo._trackPageview', '/4007739858/goal']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();

script
window.CLIENT_TYPE = !{JSON.stringify(type)};

Expand Down
17 changes: 15 additions & 2 deletions views/index.jade
Original file line number Diff line number Diff line change
@@ -1,13 +1,26 @@
//- Google Website Optimizer Control Script
script
function utmx_section(){}function utmx(){}
(function(){var k='0837955242',d=document,l=d.location,c=d.cookie;function f(n){
(function(){var k='4007739858',d=document,l=d.location,c=d.cookie;function f(n){
if(c){var i=c.indexOf(n+'=');if(i>-1){var j=c.indexOf(';',i);return escape(c.substring(i+n.
length+1,j<0?c.length:j))}}}var x=f('__utmx'),xx=f('__utmxx'),h=l.hash;
d.write('<sc'+'ript src="'+
'http'+(l.protocol=='https:'?'s://ssl':'://www')+'.google-analytics.com'
+'/siteopt.js?v=1&utmxkey='+k+'&utmx='+(x?x:'')+'&utmxx='+(xx?xx:'')+'&utmxtime='
+new Date().valueOf()+(h?'&utmxhash='+escape(h.substr(1)):'')+
'" type="text/javascript" charset="utf-8"></sc'+'ript>')})();
//- Google Website Optimizer Tracking Script
script
var _gaq = _gaq || [];
_gaq.push(['gwo._setAccount', 'UA-17971348-2']);
_gaq.push(['gwo._trackPageview', '/4007739858/test']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();

script
window.startingRoomCounts = !{JSON.stringify(roomCounts)};

Expand All @@ -19,7 +32,7 @@ script
#main
#column_left
script utmx_section("Subheader")
h2 Connect with someone who will listen
h2 Connect with someone
</noscript>

p You want to share your feelings, but you can't talk to somebody you know - because let's face it, they might judge you for it or use it against you in the future. CompassionPit is the solution to this: get anonymously connected to another compassionate human from around the world.
Expand Down

0 comments on commit 2f8da54

Please sign in to comment.