Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Different init #187

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open

Conversation

yookoala
Copy link

@yookoala yookoala commented Sep 5, 2014

The original supersized library generate 2 divs automatically:

  1. #supersized-loader
  2. #supersized

These 2 divs are generated even if the library is not called by
explicit $('selector').supersized() call. That is an unexpected
behaviour.

This commit movied the append statement into the supersized
plugin. The divs are now appended only if:

  1. $.supersized is called explicitly; and
  2. The #supersized div is previously not existed

The behaviour is a slightly different from before, but all other
behaviour reserved.

zachdunn and others added 2 commits September 5, 2014 15:20
Fix for problem pulling photos from Flickr
The original supersized library generate 2 divs automatically:
 1. #supersized-loader
 2. #supersized

These 2 divs are generated even if the library is not called by
explicit `$('selector').supersized()` call. That is an unexpected
behaviour.

This commit movied the append statement into the supersized
plugin. The divs are now appended only if:

 1. $.supersized is called explicitly; and
 2. The #supersized div is previously not existed

The behaviour is a slightly different from before, but all other
behaviour reserved.
@yookoala yookoala closed this Sep 5, 2014
@yookoala yookoala deleted the different_init branch September 5, 2014 07:29
@yookoala yookoala restored the different_init branch September 5, 2014 07:29
@yookoala yookoala reopened this Sep 5, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants