C# Class Cruncher.Compression.JavaScriptMinifier

Exibir arquivo Open project: JimBobSquarePants/Cruncher

Private Properties

Property Type Description
CreateCodeSettings CodeSettings

Public Methods

Method Description
JavaScriptMinifier ( ) : System.Diagnostics.CodeAnalysis

Initializes a new instance of the JavaScriptMinifier class.

Minify ( string script ) : string

Gets the minified version of the submitted script.

Private Methods

Method Description
CreateCodeSettings ( ) : CodeSettings

Builds the required CodeSettings class needed for the Ajax Minifier.

Method Details

JavaScriptMinifier() public method

Initializes a new instance of the JavaScriptMinifier class.
public JavaScriptMinifier ( ) : System.Diagnostics.CodeAnalysis
return System.Diagnostics.CodeAnalysis

Minify() public method

Gets the minified version of the submitted script.
public Minify ( string script ) : string
script string The script to minify.
return string