From 948ebb242490092c5a7e187c3b7813134b047d5e Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Tue, 23 Jun 2015 20:47:46 -0400 Subject: Improve assets loading: remove http call to load task colors and async load of app.js --- app/Helper/Asset.php | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'app/Helper') diff --git a/app/Helper/Asset.php b/app/Helper/Asset.php index fe285081..1b1e47c5 100644 --- a/app/Helper/Asset.php +++ b/app/Helper/Asset.php @@ -16,9 +16,9 @@ class Asset extends \Core\Base * @param string $filename Filename * @return string */ - public function js($filename) + public function js($filename, $async = false) { - return ''; + return ''; } /** @@ -48,4 +48,15 @@ class Asset extends \Core\Base return ''; } + + /** + * Get CSS for task colors + * + * @access public + * @return string + */ + public function colorCss() + { + return ''; + } } -- cgit v1.2.3