/// <summary>
        /// Applies a settings to code compressor
        /// </summary>
        /// <param name="compressor">Code compressor</param>
        /// <param name="commonSettings">Common settings of YUI Minifier</param>
        protected static void ApplyCommonSettingsToCompressor(Compressor compressor,
			YuiCommonMinificationSettingsBase commonSettings)
        {
            compressor.LineBreakPosition = commonSettings.LineBreakPosition;
        }
示例#2
0
		/// <summary>
		/// Applies a common settings to original minifier
		/// </summary>
		/// <param name="originalMinifier">Original minifier</param>
		/// <param name="settings">Common minifier settings</param>
		protected static void ApplyCommonSettingsToOriginalMinifier(Compressor originalMinifier,
			YuiCommonMinificationSettingsBase settings)
		{
			originalMinifier.LineBreakPosition = settings.LineBreakPosition;
		}