From ac1ee73379cffb782dec8a91f132a2bec3427c21 Mon Sep 17 00:00:00 2001 From: Siena McFetridge Date: Sat, 27 Oct 2012 17:54:01 -0500 Subject: [PATCH 1/2] changed first error --- app/scripts/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/scripts/app.js b/app/scripts/app.js index d5fd2b4..08ad67f 100644 --- a/app/scripts/app.js +++ b/app/scripts/app.js @@ -466,7 +466,7 @@ $(function(){ init(); // Here we goooooooo! - Mario64 })(); -Array.prototype.slice = function(){}; + /** From 137e9ab2f06f994b0fd36cb4a02048cdf93693f5 Mon Sep 17 00:00:00 2001 From: Siena McFetridge Date: Sat, 27 Oct 2012 18:26:02 -0500 Subject: [PATCH 2/2] blah --- app/scripts/app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/scripts/app.js b/app/scripts/app.js index 08ad67f..f2c00d8 100644 --- a/app/scripts/app.js +++ b/app/scripts/app.js @@ -275,7 +275,7 @@ $(function(){ ; $form.on('submit', function(e){ - + e.prevent.default; // Clear previous errors $errors.html(""); $form.find('.error').removeClass('error'); @@ -350,7 +350,7 @@ $(function(){ // Returns data ready for our template given an activity model , massageData = function(attributes){ return { - name: (attributes.who && attributes.who.screenName) ? attributes.who.screnName : "Someone" + name: (attributes.who && attributes.who.screenName) ? attributes.who.screenName : "Someone" , business: attributes.where.org.name , charity: attributes.data.charity.name , amount: attributes.data.donationAmount