Improve assets loading: remove http call to load task colors and async load of app.js

This commit is contained in:
Frederic Guillot
2015-06-23 20:47:46 -04:00
parent cdd2080fc0
commit 948ebb2424
7 changed files with 22 additions and 23 deletions

View File

@@ -1,6 +1,3 @@
<?= $this->asset->js('assets/js/vendor/d3.v3.min.js') ?>
<?= $this->asset->js('assets/js/vendor/c3.min.js') ?>
<div class="page-header">
<h2><?= t('Budget overview') ?></h2>
</div>
@@ -32,3 +29,6 @@
<?php else: ?>
<p class="alert"><?= t('There is not enough data to show something.') ?></p>
<?php endif ?>
<?= $this->asset->js('assets/js/vendor/d3.v3.min.js') ?>
<?= $this->asset->js('assets/js/vendor/c3.min.js') ?>