Package DE_EPAGES::JQuery::API::ClosureCompiler
This module provides an API for the Google ClosureCompiler Javascript minifier.
@EXPORT_OK |
Functions
MinifyJavaScript
Minifies the javascript source code in the given source file and writes the minfied content to the target file.
Syntax |
MinifyJavaScript($SourceFilePath, $TargetFilePath); |
Input |
|
MinifySourceCode
Minifies the given javascript source code string and returns the output as a string.
Syntax |
MinifySourceCode($rSourceString); |
Input |
|
Return |
|
MinifyTemplate
Minifies the javascript source code inside a given source html template file and writes the template contant with the minfied javascript code to the target file.
Syntax |
MinifyTemplate($SourceFilePath, $TargetFilePath); |
Input |
|