From edb7f3975bc4e200066d0da2d54dcae4f9a08d3e Mon Sep 17 00:00:00 2001 From: KostyaDanovsky Date: Fri, 6 May 2016 20:12:19 +0300 Subject: [PATCH] cleanup(dashboard): remove unused code --- src/app/pages/dashboard/todo/dashboardTodo.js | 15 --------- .../trafficChart/TrafficChartCtrl.js | 33 ------------------- 2 files changed, 48 deletions(-) delete mode 100644 src/app/pages/dashboard/todo/dashboardTodo.js diff --git a/src/app/pages/dashboard/todo/dashboardTodo.js b/src/app/pages/dashboard/todo/dashboardTodo.js deleted file mode 100644 index d960928..0000000 --- a/src/app/pages/dashboard/todo/dashboardTodo.js +++ /dev/null @@ -1,15 +0,0 @@ -/** - * @author v.lugovksy - * created on 16.12.2015 - */ -(function () { - 'use strict'; - - angular.module('BlurAdmin.pages.dashboard') - .service('dashboardTodo', dashboardTodo); - - /** @ngInject */ - function dashboardTodo() { - - } -})(); \ No newline at end of file diff --git a/src/app/pages/dashboard/trafficChart/TrafficChartCtrl.js b/src/app/pages/dashboard/trafficChart/TrafficChartCtrl.js index e5c56f5..682a23e 100644 --- a/src/app/pages/dashboard/trafficChart/TrafficChartCtrl.js +++ b/src/app/pages/dashboard/trafficChart/TrafficChartCtrl.js @@ -50,39 +50,6 @@ }, ]; - /* - * { - value: 2000, - color: layoutColors.defaultCharts, - highlight: "#f1f1f1", - label: 'Ad Campaigns' - }, - { - value: 1500, - color: layoutColors.primaryCharts, - highlight: "#136775", - label: 'Search engines' - }, - { - value: 1000, - color: layoutColors.infoCharts, - highlight: "#13998a", - label: 'Direct Traffic' - }, - { - value: 1200, - color: layoutColors.successCharts, - highlight: "#94d7a1", - label: 'Referral Traffic' - }, - { - value: 400, - color: layoutColors.warningCharts, - highlight: "#dcfcc4", - label: 'Other' - } - * */ - var ctx = document.getElementById('chart-area').getContext('2d'); window.myDoughnut = new Chart(ctx).Doughnut($scope.doughnutData, { segmentShowStroke: false,