import initialize from '../functions/initialize' import each from '../../utils/each' import reveal from './reveal' /** * Re-runs the reveal method for each record stored in history, * for capturing new content asynchronously loaded into the DOM. */ export default function sync() { each(this.store.history, record => { reveal.call(this, record.target, record.options, true) }) initialize.call(this) }