Skip to content
This repository has been archived by the owner on Oct 30, 2018. It is now read-only.

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

Merged
merged 1 commit into from Nov 1, 2012
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 4 additions & 0 deletions lib/app/addons/rs/yui.js
Expand Up @@ -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);

Expand Down