block.jscompress.php
Compress JS in templates
Tags
Table of Contents
- jtpl_block_common_jscompress() : string
- jscompress : formate a js block code by removing spaces, tabs and returns.
Functions
jtpl_block_common_jscompress()
jscompress : formate a js block code by removing spaces, tabs and returns.
jtpl_block_common_jscompress(mixed $compiler, mixed $begin[, mixed $params = array() ]) : string
Example: {jscompress}var foo = bar;{/jscompress}
Parameters
- $compiler : mixed
- $begin : mixed
- $params : mixed = array()