Bläddra i källkod

refactoring: moving stuff around

Torkel Ödegaard 10 år sedan
förälder
incheckning
39bc3cb532

+ 0 - 0
public/app/components/timeSeries.js → public/app/core/time_series.js


+ 5 - 5
public/app/features/panel/all.js

@@ -1,7 +1,7 @@
 define([
 define([
-  './panelMenu',
-  './panelDirective',
-  './panelSrv',
-  './panelHelper',
-  './soloPanelCtrl',
+  './panel_menu',
+  './panel_directive',
+  './panel_srv',
+  './panel_helper',
+  './solo_panel_ctrl',
 ], function () {});
 ], function () {});

+ 0 - 0
public/app/features/panel/panelDirective.js → public/app/features/panel/panel_directive.js


+ 0 - 0
public/app/features/panel/panelHelper.js → public/app/features/panel/panel_helper.js


+ 0 - 0
public/app/features/panel/panelMenu.js → public/app/features/panel/panel_menu.js


+ 0 - 0
public/app/components/panelmeta.ts → public/app/features/panel/panel_meta.ts


+ 0 - 0
public/app/features/panel/panelSrv.js → public/app/features/panel/panel_srv.js


+ 0 - 0
public/app/features/panel/soloPanelCtrl.js → public/app/features/panel/solo_panel_ctrl.js


+ 1 - 1
public/app/panels/dashlist/module.js

@@ -3,7 +3,7 @@ define([
   'app/app',
   'app/app',
   'lodash',
   'lodash',
   'config',
   'config',
-  'app/components/panelmeta',
+  'app/features/panel/panel_meta',
 ],
 ],
 function (angular, app, _, config, PanelMeta) {
 function (angular, app, _, config, PanelMeta) {
   'use strict';
   'use strict';

+ 2 - 2
public/app/panels/graph/module.js

@@ -4,8 +4,8 @@ define([
   'lodash',
   'lodash',
   'kbn',
   'kbn',
   'moment',
   'moment',
-  'app/components/timeSeries',
-  'app/components/panelmeta',
+  'app/core/time_series',
+  'app/features/panel/panel_meta',
   './seriesOverridesCtrl',
   './seriesOverridesCtrl',
   './graph',
   './graph',
   './legend',
   './legend',

+ 2 - 2
public/app/panels/singlestat/module.js

@@ -3,8 +3,8 @@ define([
   'app/app',
   'app/app',
   'lodash',
   'lodash',
   'kbn',
   'kbn',
-  'app/components/timeSeries',
-  'app/components/panelmeta',
+  'app/core/time_series',
+  'app/features/panel/panel_meta',
   './singleStatPanel',
   './singleStatPanel',
 ],
 ],
 function (angular, app, _, kbn, TimeSeries, PanelMeta) {
 function (angular, app, _, kbn, TimeSeries, PanelMeta) {

+ 1 - 1
public/app/panels/text/module.js

@@ -3,7 +3,7 @@ define([
   'app/app',
   'app/app',
   'lodash',
   'lodash',
   'require',
   'require',
-  'app/components/panelmeta',
+  'app/features/panel/panel_meta',
 ],
 ],
 function (angular, app, _, require, PanelMeta) {
 function (angular, app, _, require, PanelMeta) {
   'use strict';
   'use strict';

+ 1 - 1
public/test/specs/timeSeries-specs.js → public/test/specs/core/time_series_specs.js

@@ -1,5 +1,5 @@
 define([
 define([
-  'app/components/timeSeries'
+  'app/core/time_series'
 ], function(TimeSeries) {
 ], function(TimeSeries) {
   'use strict';
   'use strict';
 
 

+ 2 - 2
public/test/specs/graph-ctrl-specs.js

@@ -1,7 +1,7 @@
 define([
 define([
   './helpers',
   './helpers',
-  'app/features/panel/panelSrv',
-  'app/features/panel/panelHelper',
+  'app/features/panel/panel_srv',
+  'app/features/panel/panel_helper',
   'app/panels/graph/module'
   'app/panels/graph/module'
 ], function(helpers) {
 ], function(helpers) {
   'use strict';
   'use strict';

+ 1 - 1
public/test/specs/graph-specs.js

@@ -2,7 +2,7 @@ define([
   './helpers',
   './helpers',
   'angular',
   'angular',
   'jquery',
   'jquery',
-  'app/components/timeSeries',
+  'app/core/time_series',
   'app/panels/graph/graph'
   'app/panels/graph/graph'
 ], function(helpers, angular, $, TimeSeries) {
 ], function(helpers, angular, $, TimeSeries) {
   'use strict';
   'use strict';

+ 1 - 1
public/test/specs/panelSrv-specs.js

@@ -1,6 +1,6 @@
 define([
 define([
   './helpers',
   './helpers',
-  'app/features/panel/panelSrv',
+  'app/features/panel/panel_srv',
 ], function() {
 ], function() {
   'use strict';
   'use strict';
 
 

+ 2 - 2
public/test/specs/singlestat-specs.js

@@ -1,7 +1,7 @@
 define([
 define([
   './helpers',
   './helpers',
-  'app/features/panel/panelSrv',
-  'app/features/panel/panelHelper',
+  'app/features/panel/panel_srv',
+  'app/features/panel/panel_helper',
   'app/panels/singlestat/module'
   'app/panels/singlestat/module'
 ], function(helpers) {
 ], function(helpers) {
   'use strict';
   'use strict';