UNPKG

scroll-spy

Version:

A light weight scroll spy library in vanilla js

15 lines (11 loc) 277 B
'use strict'; var scrollSpy = require('./scroll-spy'); (function(factory) { if (typeof define === 'function' && define.amd) { define([], factory); } else if (typeof window === 'object') { window.scrollSpy = factory(); } }(function() { return scrollSpy; }));