for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the WordPress Standard project.
*
* Copyright (c) 2015-2016 LIN3S <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace AppTheme\Configuration;
use LIN3S\WPFoundation\Configuration\Assets\Assets as BaseAssets;
/**
* Final Assets class, it enqueue in a simple way all the scripts and stylesheets.
* @author Gorka Laucirica <[email protected]>
* @author Beñat Espiña <[email protected]>
final class Assets extends BaseAssets
{
* {@inheritdoc}
public function developmentAssets()
$this
->addScript('fastclick', self::NPM . '/fastclick/lib')
->addScript('svg4everybody.min', self::NPM . '/svg4everybody/dist')
->addScript('modernizr', self::BUILD_JS, [], '3.0.0', false)
->addStylesheet('app', self::CSS)
->addScript('svg')
->addScript('cookies')
->addScript('app');
}
public function productionAssets()
->addStylesheet('app.min', self::CSS)
->addScript('app.min', self::BUILD_JS)
->addScript('modernizr', self::BUILD_JS, [], '3.0.0', false);
This check marks files that end in a newline character, i.e. an empy line.
This check marks files that end in a newline character, i.e. an empy line.