Skip to content

Instantly share code, notes, and snippets.

View jayli's full-sized avatar

lijing00333 jayli

View GitHub Profile
@jayli
jayli / gist:1696464
Created January 29, 2012 00:44 — forked from davglass/gist:1606825
YUI 3.3.0 FF 9 Duplicate Script Loading Patch
(function() {
/*
* This patch fixes an issue with Y.Get in 3.2.0 & 3.3.0
* where it fails to know when a CSS file is loaded in FF 9+.
* Since it fails to know when the load of the CSS file
* has completed, it creates a race condition that
* forces the scripts to be attached again.
*/