Various code cleanup things inspired by Code Climate [skip ci]

This commit is contained in:
James Cole
2015-01-31 08:51:40 +01:00
parent 916d85c3fe
commit dde09f9f89
8 changed files with 33 additions and 104 deletions

View File

@@ -1,6 +1,6 @@
$(function () {
if (typeof(googleLineChart) == "function" && typeof accountID != 'undefined' && typeof view != 'undefined') {
if (typeof(googleLineChart) === "function" && typeof accountID !== 'undefined' && typeof view !== 'undefined') {
googleLineChart('chart/account/' + accountID + '/' + view, 'overview-chart');
}