Logo white

Yarik / artbox

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • artbox
  • assets
  • LazyAsset.php
  • Lazyload
    a6322189
    Yarik authored
    2016-12-12 18:40:51 +0200  
    Browse Code ยป
LazyAsset.php 341 Bytes
Edit Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
<?php

namespace artweb\artbox\assets;

use yii\web\AssetBundle;

/**
 * Main frontend application asset bundle.
 */
class LazyAsset extends AssetBundle
{
    public $sourcePath = '@artweb/artbox/resources';
    public $js = [
        'artbox-lazy.js',
    ];

    public $depends = [
        'artweb\artbox\assets\LazyLoadAsset',
    ];

}