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 (
    '0.5.9' => 
    array (
      'js' => '//cdnjs.cloudflare.com/ajax/libs/jquery.perfect-scrollbar/0.5.9/perfect-scrollbar.min.js',
      'css' => '//cdnjs.cloudflare.com/ajax/libs/jquery.perfect-scrollbar/0.5.9/perfect-scrollbar.min.css',
    ),
  ),
  'require' => 
  array (
    'asset' => 
    array (
      0 => 'jquery',
    ),
  ),
  'info' => 
  array (
    'url' => 'http://noraesae.github.io/perfect-scrollbar',
    'name' => 'Minimalistic but perfect custom scrollbar plugin',
    'desc' => 'Why perfect-scrollbar?
			I was once working on a personal project, and trying to find the jQuery scrollbar plugin that's perfect. But there was no perfect one. That's why I decided to make one.
			perfect-scrollbar is minimalistic but perfect (for me, and maybe for most developers) scrollbar plugin working with jQuery or vanilla JavaScript as well.',
    'git' => 'https://github.com/noraesae/perfect-scrollbar.git',
  ),
)