diff --git a/core/src/main/java/hudson/Functions.java b/core/src/main/java/hudson/Functions.java index c16c684072..7076248f38 100644 --- a/core/src/main/java/hudson/Functions.java +++ b/core/src/main/java/hudson/Functions.java @@ -182,6 +182,18 @@ public class Functions { return c.getValue(); } + /** + * Gets the suffix to use for YUI JavaScript. + */ + public static String getYuiSuffix() { + return DEBUG_YUI ? "debug" : "min"; + } + + /** + * Set to true if you need to use the debug version of YUI. + */ + public static boolean DEBUG_YUI = false; + /** * Creates a sub map by using the given range (both ends inclusive). */