All Downloads are FREE. Search and download functionalities are using the official Maven repository.

web-interface.assets.38.38.bed853b49cad62de1f58.js Maven / Gradle / Ivy

There is a newer version: 6.0.6
Show newest version
webpackJsonp([38],{1035:function(module,exports,__webpack_require__){eval("/* REACT HOT LOADER */ if (false) { (function () { var ReactHotAPI = require(\"/var/lib/jenkins/jobs/graylog-release/workspace/target/checkout/graylog2-web-interface/node_modules/react-hot-api/modules/index.js\"), RootInstanceProvider = require(\"/var/lib/jenkins/jobs/graylog-release/workspace/target/checkout/graylog2-web-interface/node_modules/react-hot-loader/RootInstanceProvider.js\"), ReactMount = require(\"react/lib/ReactMount\"), React = require(\"react\"); module.makeHot = module.hot.data ? module.hot.data.makeHot : ReactHotAPI(function () { return RootInstanceProvider.getRootInstances(ReactMount); }, React); })(); } try { (function () {\n\n'use strict';\n\nObject.defineProperty(exports, '__esModule', {\n  value: true\n});\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\nvar _react = __webpack_require__(1);\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _SearchPage = __webpack_require__(473);\n\nvar _SearchPage2 = _interopRequireDefault(_SearchPage);\n\nvar _componentsCommon = __webpack_require__(4);\n\nvar _storesStreamsStreamsStore = __webpack_require__(27);\n\nvar _storesStreamsStreamsStore2 = _interopRequireDefault(_storesStreamsStreamsStore);\n\nvar StreamSearchPage = _react2['default'].createClass({\n  displayName: 'StreamSearchPage',\n\n  propTypes: {\n    params: _react.PropTypes.object.isRequired\n  },\n  getInitialState: function getInitialState() {\n    return {\n      stream: undefined\n    };\n  },\n  componentDidMount: function componentDidMount() {\n    var _this = this;\n\n    _storesStreamsStreamsStore2['default'].get(this.props.params.streamId, function (stream) {\n      return _this.setState({ stream: stream });\n    });\n  },\n  render: function render() {\n    if (!this.state.stream) {\n      return _react2['default'].createElement(_componentsCommon.Spinner, null);\n    }\n\n    return _react2['default'].createElement(_SearchPage2['default'], _extends({ searchInStream: this.state.stream }, this.props));\n  }\n});\n\nexports['default'] = StreamSearchPage;\nmodule.exports = exports['default'];\n\n/* REACT HOT LOADER */ }).call(this); } finally { if (false) { (function () { var foundReactClasses = module.hot.data && module.hot.data.foundReactClasses || false; if (module.exports && module.makeHot) { var makeExportsHot = require(\"/var/lib/jenkins/jobs/graylog-release/workspace/target/checkout/graylog2-web-interface/node_modules/react-hot-loader/makeExportsHot.js\"); if (makeExportsHot(module, require(\"react\"))) { foundReactClasses = true; } var shouldAcceptModule = true && foundReactClasses; if (shouldAcceptModule) { module.hot.accept(function (err) { if (err) { console.error(\"Cannot not apply hot update to \" + \"StreamSearchPage.jsx\" + \": \" + err.message); } }); } } module.hot.dispose(function (data) { data.makeHot = module.makeHot; data.foundReactClasses = foundReactClasses; }); })(); } }\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-hot-loader!./~/babel-loader!./src/pages/StreamSearchPage.jsx\n ** module id = 1035\n ** module chunks = 38\n **/\n//# sourceURL=webpack:///./src/pages/StreamSearchPage.jsx?./~/react-hot-loader!./~/babel-loader")}});




© 2015 - 2024 Weber Informatics LLC | Privacy Policy