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

Namespace: CMS.UIControls
Assembly: CMS.UIControls (in CMS.UIControls.dll) Version: 13.0.131
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