Click or drag to resize
AjaxJavaScriptMinifierMinify Method
Minifies the specified JavaScript.

Namespace: CMS.UIControls
Assembly: CMS.UIControls (in CMS.UIControls.dll) Version: 12.0.0
Syntax
C#
public string Minify(
	string resource
)

Parameters

resource
Type: SystemString
The JavaScript to minify.

Return Value

Type: String
The minified JavaScript, if minification was successful; otherwise, the original JavaScript with minification errors appended at the end.

Implements

IResourceMinifierMinify(String)
See Also