Skip to content
This repository has been archived by the owner on May 19, 2021. It is now read-only.

Commit

Permalink
Woops, moving example to proper section.
Browse files Browse the repository at this point in the history
  • Loading branch information
kherge committed Dec 3, 2014
1 parent 5160141 commit 9ed2459
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,18 +157,18 @@ $example->setExtensions(

The library has two compactors bundled for your convenience.

```php
use Herrera\Box\Compactor\Javascript;

$compactor = new Javascript();
```

##### Compacting JavaScript

The `JavaScript` compactor will minify JavaScript files, but requires the
[`tedivm/jshrink`][] packages to work. This is included when you install
the Box library.

```php
use Herrera\Box\Compactor\Javascript;

$compactor = new Javascript();
```

##### Compacting JSON

The `JSON` compactor is very simple to use as there are no options to
Expand Down

0 comments on commit 9ed2459

Please sign in to comment.