Skip to content
This repository has been archived by the owner on Mar 31, 2024. It is now read-only.

Commit

Permalink
[deps] map some unmapped dependencies
Browse files Browse the repository at this point in the history
With the addition of elastic#8273, the status page no longer loads because some dependencies are not mapped for partial bundles
  • Loading branch information
spalger committed Oct 11, 2016
1 parent 2a44afd commit 8520bb4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ui/public/courier/data_source/doc_source.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
define(function (require) {
let _ = require('lodash');
require('ui/es');
require('ui/storage');

return function DocSourceFactory(Private, Promise, es, sessionStorage) {
let sendToEs = Private(require('ui/courier/data_source/_doc_send_to_es'));
Expand Down
1 change: 1 addition & 0 deletions src/ui/public/state_management/state.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import rison from 'ui/utils/rison';
import applyDiff from 'ui/utils/diff_object';
import EventsProvider from 'ui/events';
import Notifier from 'ui/notify/notifier';
import 'ui/config';

import {
createStateHash,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
import 'ui/state_management/app_state';
import 'ui/state_management/global_state';

export default function getUnhashableStatesProvider(getAppState, globalState) {
return function getUnhashableStates() {
return [getAppState(), globalState].filter(Boolean);
Expand Down

0 comments on commit 8520bb4

Please sign in to comment.