Skip to content

Instantly share code, notes, and snippets.

@wildlyinaccurate
Created August 12, 2015 21:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wildlyinaccurate/f801bb4125c6f7c21661 to your computer and use it in GitHub Desktop.
Save wildlyinaccurate/f801bb4125c6f7c21661 to your computer and use it in GitHub Desktop.
(function() {
'use strict'
var container = document.querySelector('.post-content')
var items = container.querySelectorAll('[data-collection-item]')
[].slice.call(items).forEach(function(item) {
// ...
})
})()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment