Documentation > CMS Template API Library > Util > MinifyJS(String)

MinifyJS

Minifier for JavaScript

public System.String MinifyJS(String)


Returns

string of minified JavaScript. Check context.Error for error list.

Parameters

NameDescriptionType
jsCode JavaScript code as a string System.String

Connect with Crownpeak