demo

    public function demo()
    {
        $name = preg_replace('~[^a-z0-9_-]+~ims', '', trim($_GET['page'] ?: $_GET['id']));
        if ( ! $name) {
            return _404();
        }
        $cls_assets = _class($assets);
        $all = $this->_get_assets();
        if ( ! isset($all[$name])) {
            return _404();
        }
        $content = $all[$name]['content'];
        if (is_callable($content)) {
            $content = $content($cls_assets);
        }
        asset($name);
        if (isset($content['demo'])) {
            $demo = $content['demo'];
            if (is_callable($demo)) {
                $demo = $demo();
            }
            $out[] = $demo;
        }
        $out[] = '<pre><code>' . _prepare_html(var_export($content, true)) . '</code></pre>';
        return implode('<br>' . PHP_EOL, $out);
    }
array (
  'versions' => 
  array (
    'master' => 
    array (
      'js' => '//rawgit.yfix.net/yfix/owlcarousel/master/owl-carousel/owl.carousel.min.js',
      'css' => 
      array (
        0 => '//rawgit.yfix.net/yfix/owlcarousel/master/owl-carousel/owl.carousel.css',
        1 => '//rawgit.yfix.net/yfix/owlcarousel/master/owl-carousel/owl.theme.css',
      ),
    ),
  ),
  'github' => 
  array (
    'name' => 'yfix/owlcarousel',
    'version' => 'master',
    'js' => 'owl-carousel/owl.carousel.min.js',
    'css' => 
    array (
      0 => 'owl-carousel/owl.carousel.css',
      1 => 'owl-carousel/owl.theme.css',
    ),
  ),
  'require' => 
  array (
    'asset' => 'jquery',
  ),
)