Skip to content

This fixes #2532773 (duplicate CSS loaded on refetch)#277

Merged
yuibuild merged 2 commits into
yui:masterfrom
davglass:2532773
Sep 24, 2012
Merged

This fixes #2532773 (duplicate CSS loaded on refetch)#277
yuibuild merged 2 commits into
yui:masterfrom
davglass:2532773

Conversation

@davglass

Copy link
Copy Markdown
Member

When refetching module, the logic for checking if a CSS module was being bypassed. Instead of running through all the logic again, I'm short cutting it here for performance.

This checks the modules for new CSS (JS not mattered here because of YUI.add registration), then it checks to see if it's available with isCSSLoaded, then if it's already there, it removes the items and calculates again.

@yuibuild yuibuild merged commit c83081e into yui:master Sep 24, 2012
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.

4 participants