Skip to content
This repository has been archived by the owner on Jul 27, 2020. It is now read-only.

Make plugin AMD compatible, preserves initial background vertical position, misc. updates and optimizations #8

Open
wants to merge 16 commits into
base: master
Choose a base branch
from

Conversation

jhummel
Copy link

@jhummel jhummel commented Aug 24, 2013

Adds AMD compatibility. (Also works fine if not using AMD). Preserves initial vertical position of the background - so you can start with a background position of '50% -100px', for instance. (y pos always assumes pixels). Updates the demo css to highlight this capability. Added a gitignore file and removed .DS_Store from repo. Optimized script by removing unneeded jquery calls and loops. Returns jQuery object to allow for chaining.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant