Skip to content
This repository has been archived by the owner on Nov 8, 2020. It is now read-only.

Commit

Permalink
Removed extra trailing spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
lyrixx committed Sep 24, 2012
1 parent 3dddca4 commit f65e630
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Expand Up @@ -3,6 +3,6 @@ language: php
php:
- 5.3
- 5.4

before_script:
- "sh bin/travis-init.sh"
- "sh bin/travis-init.sh"
14 changes: 7 additions & 7 deletions doc/assetic.rst
Expand Up @@ -12,7 +12,7 @@ Parameters

* **assetic.options**: An associative array of assetic options.

* **assetic.options => debug** (defaults to false, optional):
* **assetic.options => debug** (defaults to false, optional):

* **assetic.options => formulae_cache_dir** (optional): When formulae_cache_dir is set, Assetic
will cache assets generated trough formulae in this folder to improve performance. Remember,
Expand All @@ -27,7 +27,7 @@ Parameters
* **assetic.filters** (optional): Used for configuring filters on registration, just provide an 'app protected'
callback $app->protect(function($fm) { }) and add your filters inside the function to filter manager ($fm->set())

* **assetic.assets** (optional): Used for configuring assets on registration, just provide an 'app protected'
* **assetic.assets** (optional): Used for configuring assets on registration, just provide an 'app protected'
callback $app->protect(function($am) { }) and add your assets inside the function to asset manager ($am->set())

Services
Expand All @@ -43,7 +43,7 @@ Services

$asset = new FileAsset(__DIR__ . '/extra/*.css');
$app['assetic.asset_manager']->set('extra_css', $asset);

* **assetic.filter_manager**: Instance of FilterManager
for adding filters (implements FilterInterface)

Expand All @@ -62,12 +62,12 @@ Services
$app['assetic.lazy_asset_manager']->setFormula('extra_css', array(
array(__DIR__ . '/extra/*.css'),
array('yui_css'),
array('output' => 'css/extra')
array('output' => 'css/extra')
));

* **assetic.dumper**: Instance of SilexAssetic\Assetic\Dumper. Contains methods
to dump assets.

Registering
-----------

Expand All @@ -89,11 +89,11 @@ directory.
$fm->set('yui_js', new Assetic\Filter\Yui\JsCompressorFilter(
'/usr/share/yui-compressor/yui-compressor.jar'
));
}),
}),
'assetic.assets' => $app->protect(function($am, $fm) {
$am->set('styles', new Assetic\Asset\AssetCache(
new Assetic\Asset\GlobAsset(
__DIR__ . '/resources/css/*.css',
__DIR__ . '/resources/css/*.css',
array($fm->get('yui_css'))
),
new Assetic\Cache\FilesystemCache(__DIR__ . '/cache/assetic')
Expand Down

0 comments on commit f65e630

Please sign in to comment.