Rename Visaulization to VisualizationProvider

This commit is contained in:
Arik Fraimovich 2014-03-04 10:19:28 +02:00
parent 5aed2b6baf
commit be93e77b2f

View File

@ -1,5 +1,5 @@
(function () {
var Visualization = function() {
var VisualizationProvider = function() {
this.visualizations = {};
this.visualizationTypes = {};
@ -139,7 +139,7 @@
};
angular.module('redash.visualization', [])
.provider('Visualization', Visualization)
.provider('Visualization', VisualizationProvider)
.directive('visualizationRenderer', ['Visualization', VisualizationRenderer])
.directive('visualizationOptionsEditor', ['Visualization', VisualizationOptionsEditor])
.directive('editVisulatizationForm', ['Visualization', 'growl', EditVisualizationForm])