Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Removed extra trailing spaces

  • Loading branch information...
commit f65e630662037ba2cc1e721ee103989c6fc3dd66 1 parent 3dddca4
@lyrixx lyrixx authored
Showing with 9 additions and 9 deletions.
  1. +2 −2 .travis.yml
  2. +7 −7 doc/assetic.rst
View
4 .travis.yml
@@ -3,6 +3,6 @@ language: php
php:
- 5.3
- 5.4
-
+
before_script:
- - "sh bin/travis-init.sh"
+ - "sh bin/travis-init.sh"
View
14 doc/assetic.rst
@@ -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,
@@ -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
@@ -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)
@@ -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
-----------
@@ -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')
Please sign in to comment.
Something went wrong with that request. Please try again.