From b1e172be9e8268532610b3e7fe2a4e339eccd1a2 Mon Sep 17 00:00:00 2001 From: Julie Lala Date: Thu, 17 Jul 2014 14:50:44 -0400 Subject: spinning projects on home view --- public/assets/javascripts/ui/site/ProfileView.js | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'public/assets/javascripts/ui/site/ProfileView.js') diff --git a/public/assets/javascripts/ui/site/ProfileView.js b/public/assets/javascripts/ui/site/ProfileView.js index 8661bcd..f3b35d9 100644 --- a/public/assets/javascripts/ui/site/ProfileView.js +++ b/public/assets/javascripts/ui/site/ProfileView.js @@ -11,18 +11,7 @@ var ProfileView = View.extend({ 'thirteen']; $(".bio").addClass(choice(classes)); - $("td.border").each(function() { - var iframe = $(this).find("iframe").get('0') - if (! iframe) return - $(this).on({ - mouseenter: function(e){ - iframe.contentWindow.postMessage("spin-on", window.location.origin) - }, - mouseleave: function(e){ - iframe.contentWindow.postMessage("spin-off", window.location.origin) - } - }) - }) + this.projectList = new ProjectList () } }) -- cgit v1.2.3-70-g09d2