AjaxJavaScriptMinifierMinify Method |
Minifies the specified JavaScript.
Namespace: CMS.UIControlsAssembly: CMS.UIControls (in CMS.UIControls.dll) Version: 13.0.131
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