Skip to content
This repository was archived by the owner on Jul 3, 2018. It is now read-only.

Export makeScrollsnapPolyfill#4

Open
frankier wants to merge 1 commit into
ckrack:developfrom
frankier:export-make-polyfill
Open

Export makeScrollsnapPolyfill#4
frankier wants to merge 1 commit into
ckrack:developfrom
frankier:export-make-polyfill

Conversation

@frankier
Copy link
Copy Markdown

This is needed so pages have something to call if/when they change the DOM.

@ckrack ckrack modified the milestone: v0.2.0 Feb 3, 2016
@@ -1,4 +1,4 @@
(function(w, doc, undefined) {
window.makeScrollsnapPolyfill = (function(w, doc, undefined) {
Copy link
Copy Markdown

@wjramos wjramos Apr 26, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure I agree with binding to window.

CommonJS module.exports may be a better option

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants