Skip to main content

JSMinifier

Assembly: ServiceStack.dll
View Source
Declaration
public class JSMinifier : ICompressor

Methods

Compress(String)

View Source
Declaration
public string Compress(string js)
Returns

System.String

Parameters
TypeName
System.Stringjs

MinifyJs(String, Boolean)

View Source
Declaration
public static string MinifyJs(string js, bool ignoreErrors = false)
Returns

System.String

Parameters
TypeName
System.Stringjs
System.BooleanignoreErrors

Implements