From 19897f7d0d11a377fc86ab73dafab12b4c5a4560 Mon Sep 17 00:00:00 2001
From: Lloyd Hilaiel <lloyd@hilaiel.com>
Date: Fri, 2 Mar 2012 10:45:59 -0700
Subject: [PATCH] remove dead code: added for compress script cleanup, but not
 needed.  static_resources.minified() === Object.keys(static_resources.all())

---
 lib/static_resources.js | 15 ---------------
 1 file changed, 15 deletions(-)

diff --git a/lib/static_resources.js b/lib/static_resources.js
index fad0b6cff..6ef48a3f3 100644
--- a/lib/static_resources.js
+++ b/lib/static_resources.js
@@ -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
  */
-- 
GitLab