+ add chart common code.

This commit is contained in:
Catouse
2015-05-11 17:03:29 +08:00
parent 234fd4bc88
commit bd44b3479c
+12
View File
@@ -0,0 +1,12 @@
<?php if($extView = $this->getExtViewFile(__FILE__)){include $extView; return helper::cd();}?>
<!--[if lte IE 8]>
<?php
js::import($jsRoot . 'chartjs/excanvas.min.js');
?>
<![endif]-->
<?php
if($config->debug)
{
js::import($jsRoot . 'chartjs/chart.min.js');
}
?>