Skip to content
Snippets Groups Projects
Commit 19897f7d authored by Lloyd Hilaiel's avatar Lloyd Hilaiel
Browse files

remove dead code: added for compress script cleanup, but not needed. ...

remove dead code: added for compress script cleanup, but not needed.  static_resources.minified() === Object.keys(static_resources.all())
parent 7753803e
No related branches found
No related tags found
No related merge requests found
......@@ -156,21 +156,6 @@ exports.all = function(langs) {
return res;
};
/** return an array of all minified resources given the set of lang */
exports.minified = function(langs) {
var res = [];
Object.keys(exports.resources).forEach(function(resource) {
if (resource.indexOf(':locale') != -1) {
langs.forEach(function (lang) {
res.push(replace(resource, i18n.localeFrom(lang)));
});
} else {
res.push([ resource, null ]);
}
});
return res;
};
/**
* Get all resource urls for a specified resource based on the locale
*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment