1
0
mirror of https://github.com/maximebf/php-debugbar.git synced 2025-01-17 13:28:35 +01:00

9 Commits

Author SHA1 Message Date
James Johnston
e6f0b5a48d Enable AssetProvider to support inline assets (#338)
Add new inline_css, inline_js, and inline_head keys on the
AssetProvider::getAssets() function.  This allows us to support
collectors that require static assets that are not actually saved to a
file.

Then, update all the asset functions in JavascriptRenderer to support
these new keys.

An initial use case for this is supporting the HtmlDumper in Symfony’s
VarDumper.  HtmlDumper only provides the styles and scripts in inline
HTML form.  The static assets can be customized based on some
configuration properties available on the HtmlDumper class.  One can
actually view the CSS/JS as a long PHP string/heredoc embedded in the
HtmlDumper.php source code.  They are only accessible via the
getDumpHeader function, which returns the CSS/JS in a combined HTML
string.
2017-07-15 11:08:32 +02:00
Graham Campbell
0194f85bcf Whitespace cleanup 2014-07-26 12:00:45 +01:00
maximebf
03af69f8d1 updated docs 2014-03-22 16:12:18 -04:00
Graham Campbell
0071105c25 CS fixes 2014-01-16 21:41:41 +00:00
maximebf
dda267ebd1 updated docs and README 2013-08-13 12:29:40 +10:00
maximebf
4196d76fa4 updated doc 2013-08-12 12:02:32 +10:00
maximebf
6d6a63c2af updated docs 2013-06-19 13:15:46 +09:00
maximebf
024b0a04b0 updated docs 2013-06-19 12:05:16 +09:00
maximebf
836050cea5 huge refactoring, comments and docs 2013-06-13 18:49:55 +08:00