zvax/js-wrapper

There is no license information available for the latest version (0.0.5) of this package.

Maintainers

Details

github.com/Zvax/assets

Source

Issues

Installs: 24

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/zvax/js-wrapper

0.0.5 2016-01-12 20:49 UTC

This package is auto-updated.

Last update: 2025-09-19 10:17:34 UTC


README

#Assets

simple assets wrapper

this exemple would serve the wrapped content of both base and base2 files located in the /testjs folder

function testCompositeAsset()
    {
        $engine = new Assets\Engine();
        $map = [
            'default' => [
                'base',
                'base2',
            ],
        ];
        $engine->addCompositeAsset('javascript',$map,new Storage\FileLoader(__DIR__.'/testjs', 'js'));

        $js = $engine->serve('javascript', 'default');
    }