From db8e04c4b0d39a4c86f325ab73e9c594a9e0eabe Mon Sep 17 00:00:00 2001 From: Oliver Song Date: Sat, 19 Oct 2013 00:41:29 -0400 Subject: [PATCH] Abstraction! Key should be put in key.coffee and GA should be put in analytics.html --- .gitignore | 2 ++ client/main.html | 10 +--------- client/views/pages/box.coffee | 2 +- 3 files changed, 4 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index e43b0f9..8c7ca15 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ .DS_Store +key.coffee +analytics.html diff --git a/client/main.html b/client/main.html index 3dbfcf4..3f6b1b8 100644 --- a/client/main.html +++ b/client/main.html @@ -7,15 +7,6 @@ -
@@ -34,4 +25,5 @@

Created at HackMIT, powered by Meteor.js, and built by Oliver.

+ {{> analytics}} diff --git a/client/views/pages/box.coffee b/client/views/pages/box.coffee index 6c4c124..9f49c69 100644 --- a/client/views/pages/box.coffee +++ b/client/views/pages/box.coffee @@ -30,7 +30,7 @@ Template.boxPage.dropPaneSet = false Template.boxPage.rendered = ()-> unless Template.boxPage.dropPaneSet - filepicker.setKey('AwMdR1npIQQ6utPgLzd1Wz') + filepicker.setKey(filepickerKey) # create a drop pane filepicker.makeDropPane $(".fileDrop")[0],