mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
feat(build): fixed build issues
This commit is contained in:
@@ -9,6 +9,7 @@ import {TableModel} from './table_model';
|
||||
|
||||
export class TablePanelCtrl {
|
||||
|
||||
/** @ngInject */
|
||||
constructor($scope, $rootScope, $q, panelSrv, panelHelper, annotationsSrv) {
|
||||
$scope.ctrl = this;
|
||||
$scope.pageIndex = 0;
|
||||
|
||||
@@ -3,11 +3,11 @@ module.exports = function(config) {
|
||||
grafana: {
|
||||
cwd: '<%= genDir %>',
|
||||
src: ['app/**/*.html'],
|
||||
dest: '<%= genDir %>/app/components/partials.js',
|
||||
dest: '<%= genDir %>/app/core/partials.js',
|
||||
options: {
|
||||
bootstrap: function(module, script) {
|
||||
return "define('app/components/partials', ['angular'], function(angular) { \n" +
|
||||
"angular.module('grafana').run(['$templateCache', function($templateCache) { \n" +
|
||||
return "define('app/core/partials', ['app/core/core_module'], function(coreModule) { \n" +
|
||||
"coreModule.run(['$templateCache', function($templateCache) { \n" +
|
||||
script +
|
||||
'\n}]);' +
|
||||
'\n});';
|
||||
|
||||
Reference in New Issue
Block a user