Skip to content

Commit

Permalink
added comment and fixed indent issue
Browse files Browse the repository at this point in the history
Former-commit-id: 258a12e
  • Loading branch information
BigFunger committed Sep 7, 2016
1 parent 6602b1b commit c43d3b4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
13 changes: 6 additions & 7 deletions src/core_plugins/kibana/public/discover/controllers/discover.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,12 @@ uiRoutes
}
});

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

function discoverController($scope, config, courier, $route, $window, Notifier,
AppState, timefilter, Promise, Private, kbnUrl, highlightTags) {
Expand Down
1 change: 1 addition & 0 deletions src/ui/public/state_management/state_monitor_factory.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ function stateMonitor(state, customInitialState) {
}

function getStatus() {
// state.toJSON returns a reference, clone so we can mutate it safely
const currentState = removeIgnoredProps(cloneDeep(state.toJSON()));
const isClean = isEqual(currentState, initialState);

Expand Down

0 comments on commit c43d3b4

Please sign in to comment.