Permalink
Browse files

removed lang dependencies from binders.

The langs are already dependencies of the controller so we dont need it
here. It's causing the langs to get deployed always to the client.
  • Loading branch information...
diervo committed Oct 5, 2012
1 parent b15028f commit 8ce3829bafe333ef3ba15fefc1de2a44a0168d33
Showing with 0 additions and 6 deletions.
  1. +0 −6 lib/app/addons/rs/yui.server.js
@@ -427,12 +427,6 @@ YUI.add('addon-rs-yui', function(Y, NAME) {
required = Y.merge(required, viewEngineRequired);
sorted = this._precomputeYUIDependencies(langName, env, mojit, modules, required);
- for (l = 0; l < langNames.length; l += 1) {
- langName = langNames[l];
- langSorted = Y.mojito.util.copy(sorted);
- this._addLangsToSorted(env, langSorted, langName, langRess);
- this._setYUIDependencies(env, poslKey, langName, binder.yui.name, langSorted);
- }
}
}
}

0 comments on commit 8ce3829

Please sign in to comment.