This should fix most Javascript errors.

This commit is contained in:
James Cole
2017-01-02 10:34:01 +01:00
parent 36f1b6a834
commit f8268a864b
26 changed files with 102 additions and 51 deletions

View File

@@ -8,6 +8,8 @@
* See the LICENSE file for details.
*/
/** global: accounting */
var defaultChartOptions = {
scales: {
xAxes: [
@@ -20,7 +22,7 @@ var defaultChartOptions = {
yAxes: [{
display: true,
ticks: {
callback: function (tickValue, index, ticks) {
callback: function (tickValue) {
"use strict";
return accounting.formatMoney(tickValue);