Skip to content

Commit

Permalink
Adds restrict=E property to the directive definitions of dashboard, d…
Browse files Browse the repository at this point in the history
…iscover, visualize

Former-commit-id: 4e279c0
  • Loading branch information
BigFunger committed Sep 7, 2016
1 parent 86889c2 commit 2a8e1f7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/core_plugins/kibana/public/dashboard/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ uiRoutes

app.directive('dashboardApp', function (Notifier, courier, AppState, timefilter, kbnUrl) {
return {
restrict: 'E',
controllerAs: 'dashboardApp',
controller: function ($scope, $rootScope, $route, $routeParams, $location, Private, getAppState) {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,9 @@ uiRoutes

app.directive('discoverApp', function () {
return {
restrict: 'E',
controllerAs: 'discoverApp',
controller: discoverController,
controller: discoverController
};
});

Expand Down
1 change: 1 addition & 0 deletions src/core_plugins/kibana/public/visualize/editor/editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ uiModules
])
.directive('visualizeApp', function () {
return {
restrict: 'E',
controllerAs: 'visualizeApp',
controller: VisEditor,
};
Expand Down

0 comments on commit 2a8e1f7

Please sign in to comment.