Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

fixed bleed between loader and our use of its results #691

Merged
merged 1 commit into from

2 participants

Drew Folta Caridy Patiño
Drew Folta
Owner

No description provided.

Caridy Patiño
Owner

+1 even though this is a requirement from tests. Probably we should clone/copy at the test level and not at the app level, but in any case, this is a one time operation.

Drew Folta drewfish merged commit a69f78b into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 4 additions and 0 deletions.
  1. +4 −0 lib/app/addons/rs/yui.js
4 lib/app/addons/rs/yui.js
View
@@ -540,6 +540,10 @@ YUI.add('addon-rs-yui', function(Y, NAME) {
}));
resolved = loader.resolve(true);
+ // we need to copy, otherwise the datastructures that Y.loader holds
+ // onto get mixed with our changes, and Y.loader gets confused
+ resolved = Y.mojito.util.copy(resolved);
+
this._processMeta(resolved.jsMods, modules, expanded_modules, conditions);
this._processMeta(resolved.cssMods, modules, expanded_modules, conditions);
Something went wrong with that request. Please try again.