Documentation

內容目录

上一个主题

< Class Phalcon\Assets\Filters\Cssmin

下一个主题

Class Phalcon\Assets\Filters\None >

本页

Class Phalcon\Assets\Filters\Jsmin

implements Phalcon\Assets\FilterInterface

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.

Methods

public $content filter (string $content)

Filters the content using JSMIN