Renamed google chart methods and data.

This commit is contained in:
James Cole
2015-06-27 12:04:53 +02:00
parent 368b183230
commit f6b1ec27e5
20 changed files with 293 additions and 284 deletions

View File

@@ -1,4 +1,4 @@
/* global $, googleLineChart, accountID, token */
/* global $, lineChart, accountID, token */
// Return a helper with preserved width of cells
@@ -12,8 +12,8 @@ var fixHelper = function (e, ui) {
$(function () {
"use strict";
if (typeof(googleLineChart) === "function" && typeof accountID !== 'undefined') {
googleLineChart('chart/account/' + accountID, 'overview-chart');
if (typeof(lineChart) === "function" && typeof accountID !== 'undefined') {
lineChart('chart/account/' + accountID, 'overview-chart');
}
// sortable!