AjaxJavaScriptMinifierMinify Method |
Minifies the specified JavaScript.
Namespace: CMS.UIControlsAssembly: CMS.UIControls (in CMS.UIControls.dll) Version: 12.0.0
Syntax public string Minify(
string resource
)
Parameters
- resource
- Type: SystemString
The JavaScript to minify.
Return Value
Type:
StringThe minified JavaScript, if minification was successful; otherwise, the original JavaScript with minification errors appended at the end.
Implements
IResourceMinifierMinify(String)See Also