Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
Machy8 committed Oct 17, 2017
2 parents 7e765c0 + c8376f4 commit 6c1987a
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@
## Examples:

**Typical:**
```php
```PHP
$webloader = \WebLoader\Compiler;
$webloader->addJsFilter('minifier', function(string $code) {
// Minify
return $code;
})
->addPathPlaceholders([
->addPathsPlaceholders([
'jsDir' => 'path/to/js/dir'
]);

Expand Down Expand Up @@ -51,12 +51,6 @@ webloader:
cssFiles:
- path/to/file.css
cssLoadContent: TRUE
jsFiles:
- path/to/file.js

jsFilters:
- minify
jsLoadContent: TRUE

homepage:
cssFiles:
Expand All @@ -75,7 +69,6 @@ webloader:
- homepage

jsCollections:
- critical
- homepage
````

Expand Down

0 comments on commit 6c1987a

Please sign in to comment.