Ejemplo n.º 1
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;
 }
Ejemplo n.º 2
0
        /// <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;
        }
Ejemplo n.º 3
0
 /// <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;
 }
Ejemplo n.º 4
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;
		}