Skip to content

Instantly share code, notes, and snippets.

@anthonyshort
Created April 22, 2013 01:32
Show Gist options
  • Select an option

  • Save anthonyshort/5431879 to your computer and use it in GitHub Desktop.

Select an option

Save anthonyshort/5431879 to your computer and use it in GitHub Desktop.
Hijacking each
var ga = require('analytics');
var accordions = document.querySelector('.js-accordion');
var each = [].forEach;
each.call(accordions, function(el){
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment