From 8ffcc2bbd0460616495d18feb74763f31a459c1d Mon Sep 17 00:00:00 2001 From: Yuval Adam Date: Sat, 2 Jan 2016 00:55:45 +0200 Subject: Add slider and styles --- static/js/bundle.js | 6209 ++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 6198 insertions(+), 11 deletions(-) (limited to 'static') diff --git a/static/js/bundle.js b/static/js/bundle.js index 7eb9497..bb4f28b 100644 --- a/static/js/bundle.js +++ b/static/js/bundle.js @@ -56,6 +56,14 @@ var _reactDom2 = _interopRequireDefault(_reactDom); + __webpack_require__(159); + + var _rcSlider = __webpack_require__(163); + + var _rcSlider2 = _interopRequireDefault(_rcSlider); + + __webpack_require__(219); + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } @@ -66,7 +74,7 @@ // Need to directly script-load instead of proper import since GL JS doesn't support webpack // https://github.com/mapbox/mapbox-gl-js/issues/1649 - __webpack_require__(159); + __webpack_require__(221); var GLMap = (function (_React$Component) { _inherits(GLMap, _React$Component); @@ -234,9 +242,14 @@ style: mapStyle, hash: false }; - return _react2.default.createElement(GLMap, { - view: view, - token: 'pk.eyJ1IjoieXV2YWRtIiwiYSI6ImNpaWRuaWFxazAwMTJ2b2tyZGRmaWpsNWYifQ.qf_V3CFP_NZtLjk5luNM4g' }); + return _react2.default.createElement( + 'div', + null, + _react2.default.createElement(GLMap, { + view: view, + token: 'pk.eyJ1IjoieXV2YWRtIiwiYSI6ImNpaWRuaWFxazAwMTJ2b2tyZGRmaWpsNWYifQ.qf_V3CFP_NZtLjk5luNM4g' }), + _react2.default.createElement(_rcSlider2.default, { step: 2, defaultValue: 50 }) + ); } }]); @@ -19838,25 +19851,6199 @@ /* 159 */ /***/ function(module, exports, __webpack_require__) { - __webpack_require__(160)(__webpack_require__(161)) + // style-loader: Adds some css to the DOM by adding a