Table Of Contents

Previous topic

< Class Phalcon\Assets\Filters\Cssmin

Next topic

Class Phalcon\Assets\Filters\None >

This Page

Class Phalcon\Assets\Filters\Jsmin

implements Phalcon\Assets\FilterInterface

Source on GitHub

Deletes the characters which are insignificant to JavaScript. Comments will be removed. Tabs will be replaced with spaces. Carriage returns will be replaced with linefeeds. Most spaces and linefeeds will be removed.


public filter (mixed $content)

Filters the content using JSMIN

Follow along: