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 (
      'css' => '//rawgit.yfix.net/yfix/animate.css/master/animate.min.css',
    ),
  ),
  'info' => 
  array (
    'url' => 'http://daneden.github.io/animate.css',
    'name' => 'A cross-browser library of CSS animations. As easy to use as an easy thing.',
    'desc' => 'Just-add-water CSS animation. animate.css is a bunch of cool, fun, and cross-browser animations for you to use in your projects. Great for emphasis, home pages, sliders, and general just-add-water-awesomeness.',
    'git' => 'https://github.com/yfix/animate.css.git',
  ),
)