var $ = require('jquery');
window.$ = window.jQuery = $;

var setupHomepage = require('./homepage');
var setupAllArticles = require('./all-articles');
var setupAdmonish = require('./admonish');

// kick things off

$(document).ready(function(){

  // FAQs toggle content
  $("div.faq h4").nextUntil("h4, h3, hr, .legal-container").hide();
  
  $("div.faq h4").click(function() {
    $(this).nextUntil("h4, h3, hr, .legal-container").slideToggle("fast");
    $(this).toggleClass("active", 1000);
  });

  // Tags toggle
  $("#list-tags").click(function() {
    $(".tags-list").toggle();
  });

  // setup the homepage stuff
  if (window.location.pathname.match(/how-to\/$/)) {
    setupHomepage();
  }

  if (window.location.pathname.match(/-all-articles\/$/)) {
    setupAllArticles();
  }

  setupAdmonish();
  
  // remove redesign link from KC

  $(".banner-redesign-link").remove();
  
});

@@ -810,82 +810,8 @@
 %0A  %0A
-  // remove redesign link from KC%0A%0A  $(%22.banner-redesign-link%22).remove();%0A
   %0A%7D

Remove KC banner from repo