public static void ScriptsChanged() { BundleUtils.ClearVersionCache(); var instance = ScriptBundleManager.instance; if (instance != null && instance.bundleByKey != null) { foreach (var bundle in instance.bundleByKey.Values) { bundle.Changed(); } } instance = null; }
public static void CssChanged() { BundleUtils.ClearVersionCache(); cssBundles = null; if (isEnabled && bundleByKey != null) { var s = bundleByKey; if (s != null) { foreach (var bundle in s.Values) { bundle.Changed(); } } isInitialized = false; } }