BlogEngine.Core.Web.Scripting.JavascriptMinifier.CreateCodeSettings C# (CSharp) Method

CreateCodeSettings() private method

Builds the required CodeSettings class needed for the Ajax Minifier.
private CreateCodeSettings ( ) : CodeSettings
return CodeSettings
        private CodeSettings CreateCodeSettings()
        {
            var codeSettings = new CodeSettings();
            codeSettings.MinifyCode = false;
            // MinifyCode needs to be set to true in order for anything besides whitespace removal
            // to be done on a script.
            codeSettings.MinifyCode = this.ShouldMinifyCode;
            return codeSettings;
        }