lanes 0.5.5 → 0.5.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -41,23 +41,23 @@ webpackJsonp([2],{
41
41
 
42
42
  var _assign = __webpack_require__(13);
43
43
 
44
- var EventConstants = __webpack_require__(281);
45
- var EventPluginHub = __webpack_require__(283);
46
- var EventPluginRegistry = __webpack_require__(284);
47
- var EventPropagators = __webpack_require__(282);
44
+ var EventConstants = __webpack_require__(280);
45
+ var EventPluginHub = __webpack_require__(282);
46
+ var EventPluginRegistry = __webpack_require__(283);
47
+ var EventPropagators = __webpack_require__(281);
48
48
  var React = __webpack_require__(12);
49
- var ReactDefaultInjection = __webpack_require__(279);
50
- var ReactDOM = __webpack_require__(275);
51
- var ReactDOMComponentTree = __webpack_require__(276);
49
+ var ReactDefaultInjection = __webpack_require__(278);
50
+ var ReactDOM = __webpack_require__(274);
51
+ var ReactDOMComponentTree = __webpack_require__(275);
52
52
  var ReactElement = __webpack_require__(17);
53
- var ReactBrowserEventEmitter = __webpack_require__(342);
54
- var ReactCompositeComponent = __webpack_require__(356);
55
- var ReactInstanceMap = __webpack_require__(357);
56
- var ReactUpdates = __webpack_require__(295);
57
- var SyntheticEvent = __webpack_require__(292);
53
+ var ReactBrowserEventEmitter = __webpack_require__(341);
54
+ var ReactCompositeComponent = __webpack_require__(355);
55
+ var ReactInstanceMap = __webpack_require__(356);
56
+ var ReactUpdates = __webpack_require__(294);
57
+ var SyntheticEvent = __webpack_require__(291);
58
58
 
59
59
  var emptyObject = __webpack_require__(35);
60
- var findDOMNode = __webpack_require__(401);
60
+ var findDOMNode = __webpack_require__(400);
61
61
  var invariant = __webpack_require__(16);
62
62
 
63
63
  var topLevelTypes = EventConstants.topLevelTypes;
@@ -263,7 +263,7 @@ webpackJsonp([3],{
263
263
 
264
264
  'use strict';
265
265
 
266
- var shallowEqual = __webpack_require__(365);
266
+ var shallowEqual = __webpack_require__(364);
267
267
 
268
268
  /**
269
269
  * Does a shallow comparison for props and state.
@@ -3,7 +3,7 @@ webpackJsonp([4],[
3
3
  /***/ function(module, exports, __webpack_require__) {
4
4
 
5
5
  Lanes.Vendor.React = __webpack_require__(11);
6
- Lanes.Vendor.ReactDOM = __webpack_require__(274);
6
+ Lanes.Vendor.ReactDOM = __webpack_require__(273);
7
7
 
8
8
  Lanes.Vendor.ReactBootstrap = __webpack_require__(682);
9
9
  Lanes.Vendor.BrowserHistory = __webpack_require__(946);
@@ -4193,7 +4193,7 @@ webpackJsonp([4],[
4193
4193
 
4194
4194
  var _react2 = _interopRequireDefault(_react);
4195
4195
 
4196
- var _reactDom = __webpack_require__(274);
4196
+ var _reactDom = __webpack_require__(273);
4197
4197
 
4198
4198
  var _reactDom2 = _interopRequireDefault(_reactDom);
4199
4199
 
@@ -5265,7 +5265,7 @@ webpackJsonp([4],[
5265
5265
 
5266
5266
  var _react2 = _interopRequireDefault(_react);
5267
5267
 
5268
- var _reactDom = __webpack_require__(274);
5268
+ var _reactDom = __webpack_require__(273);
5269
5269
 
5270
5270
  var _reactDom2 = _interopRequireDefault(_reactDom);
5271
5271
 
@@ -5688,7 +5688,7 @@ webpackJsonp([4],[
5688
5688
 
5689
5689
  var _react2 = _interopRequireDefault(_react);
5690
5690
 
5691
- var _reactDom = __webpack_require__(274);
5691
+ var _reactDom = __webpack_require__(273);
5692
5692
 
5693
5693
  var _reactDom2 = _interopRequireDefault(_reactDom);
5694
5694
 
@@ -9048,7 +9048,7 @@ webpackJsonp([4],[
9048
9048
 
9049
9049
  var _react2 = _interopRequireDefault(_react);
9050
9050
 
9051
- var _reactDom = __webpack_require__(274);
9051
+ var _reactDom = __webpack_require__(273);
9052
9052
 
9053
9053
  var _reactDom2 = _interopRequireDefault(_reactDom);
9054
9054
 
@@ -9235,7 +9235,7 @@ webpackJsonp([4],[
9235
9235
 
9236
9236
  var _react2 = _interopRequireDefault(_react);
9237
9237
 
9238
- var _reactDom = __webpack_require__(274);
9238
+ var _reactDom = __webpack_require__(273);
9239
9239
 
9240
9240
  var _reactDom2 = _interopRequireDefault(_reactDom);
9241
9241
 
@@ -9435,7 +9435,7 @@ webpackJsonp([4],[
9435
9435
 
9436
9436
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
9437
9437
 
9438
- var _reactDom = __webpack_require__(274);
9438
+ var _reactDom = __webpack_require__(273);
9439
9439
 
9440
9440
  var _reactDom2 = _interopRequireDefault(_reactDom);
9441
9441
 
@@ -11830,7 +11830,7 @@ webpackJsonp([4],[
11830
11830
 
11831
11831
  var _react2 = _interopRequireDefault(_react);
11832
11832
 
11833
- var _reactDom = __webpack_require__(274);
11833
+ var _reactDom = __webpack_require__(273);
11834
11834
 
11835
11835
  var _reactDom2 = _interopRequireDefault(_reactDom);
11836
11836
 
@@ -12780,7 +12780,7 @@ webpackJsonp([4],[
12780
12780
 
12781
12781
  var _react2 = _interopRequireDefault(_react);
12782
12782
 
12783
- var _reactDom = __webpack_require__(274);
12783
+ var _reactDom = __webpack_require__(273);
12784
12784
 
12785
12785
  var _reactDom2 = _interopRequireDefault(_reactDom);
12786
12786
 
@@ -12912,7 +12912,7 @@ webpackJsonp([4],[
12912
12912
 
12913
12913
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
12914
12914
 
12915
- var _reactDom = __webpack_require__(274);
12915
+ var _reactDom = __webpack_require__(273);
12916
12916
 
12917
12917
  var _reactDom2 = _interopRequireDefault(_reactDom);
12918
12918
 
@@ -13629,7 +13629,7 @@ webpackJsonp([4],[
13629
13629
 
13630
13630
  var _react2 = _interopRequireDefault(_react);
13631
13631
 
13632
- var _reactDom = __webpack_require__(274);
13632
+ var _reactDom = __webpack_require__(273);
13633
13633
 
13634
13634
  var _reactDom2 = _interopRequireDefault(_reactDom);
13635
13635
 
@@ -15052,7 +15052,7 @@ webpackJsonp([4],[
15052
15052
 
15053
15053
  var _react2 = _interopRequireDefault(_react);
15054
15054
 
15055
- var _reactDom = __webpack_require__(274);
15055
+ var _reactDom = __webpack_require__(273);
15056
15056
 
15057
15057
  var _reactDom2 = _interopRequireDefault(_reactDom);
15058
15058
 
@@ -15515,7 +15515,7 @@ webpackJsonp([4],[
15515
15515
 
15516
15516
  var _react2 = _interopRequireDefault(_react);
15517
15517
 
15518
- var _reactDom = __webpack_require__(274);
15518
+ var _reactDom = __webpack_require__(273);
15519
15519
 
15520
15520
  var _reactDom2 = _interopRequireDefault(_reactDom);
15521
15521
 
@@ -21158,7 +21158,7 @@ webpackJsonp([4],[
21158
21158
 
21159
21159
  var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) {
21160
21160
  if (true) {
21161
- !(__WEBPACK_AMD_DEFINE_ARRAY__ = [exports, module, __webpack_require__(11), __webpack_require__(274)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory), __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
21161
+ !(__WEBPACK_AMD_DEFINE_ARRAY__ = [exports, module, __webpack_require__(11), __webpack_require__(273)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory), __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
21162
21162
  } else if (typeof exports !== 'undefined' && typeof module !== 'undefined') {
21163
21163
  factory(exports, module, require('react'), require('react-dom'));
21164
21164
  } else {
@@ -21849,7 +21849,7 @@ webpackJsonp([4],[
21849
21849
 
21850
21850
  var _react2 = _interopRequireDefault(_react);
21851
21851
 
21852
- var _reactDom = __webpack_require__(274);
21852
+ var _reactDom = __webpack_require__(273);
21853
21853
 
21854
21854
  var _reactDom2 = _interopRequireDefault(_reactDom);
21855
21855
 
@@ -22168,7 +22168,7 @@ webpackJsonp([4],[
22168
22168
 
22169
22169
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
22170
22170
 
22171
- var _reactDom = __webpack_require__(274);
22171
+ var _reactDom = __webpack_require__(273);
22172
22172
 
22173
22173
  var _reactDom2 = _interopRequireDefault(_reactDom);
22174
22174
 
@@ -1291,7 +1291,7 @@ webpackJsonp([5],{
1291
1291
 
1292
1292
  var _react2 = _interopRequireDefault(_react);
1293
1293
 
1294
- var _reactDom = __webpack_require__(274);
1294
+ var _reactDom = __webpack_require__(273);
1295
1295
 
1296
1296
  var _reactDom2 = _interopRequireDefault(_reactDom);
1297
1297
 
@@ -480,10 +480,10 @@ webpackJsonp([0],{
480
480
  var React = __webpack_require__(11);
481
481
  var Layout = __webpack_require__(147);
482
482
  var Event = __webpack_require__(269);
483
- var Label = __webpack_require__(270);
483
+ var Label = __webpack_require__(400);
484
484
  var assign = __webpack_require__(148);
485
485
  var each = __webpack_require__(179);
486
- var ReactDOM = __webpack_require__(271);
486
+ var ReactDOM = __webpack_require__(270);
487
487
 
488
488
  var IsDayClass = new RegExp('(\\s|^)(events|day|label)(\\s|$)');
489
489
 
@@ -507,7 +507,7 @@ webpackJsonp([0],{
507
507
  return { resize: false };
508
508
  },
509
509
  getBounds: function getBounds() {
510
- return ReactDOM.findDOMNode(this).getBoundingClientRect();
510
+ return ReactDOM.findDOMNode(this.refs.events || this.refs.root).getBoundingClientRect();
511
511
  },
512
512
  _onClickHandler: function _onClickHandler(ev, handler) {
513
513
  if (!handler || !IsDayClass.test(ev.target.className) || this.lastMouseUp && this.lastMouseUp < new Date().getMilliseconds() + 100) {
@@ -585,7 +585,7 @@ webpackJsonp([0],{
585
585
  if (singleDayEvents.length) {
586
586
  events.push(React.createElement(
587
587
  'div',
588
- { key: 'events', refs: 'events', className: 'events',
588
+ { key: 'events', ref: 'events', className: 'events',
589
589
  onMouseMove: onMouseMove, onMouseUp: this.onMouseUp },
590
590
  singleDayEvents
591
591
  ));
@@ -597,7 +597,8 @@ webpackJsonp([0],{
597
597
 
598
598
  return React.createElement(
599
599
  'div',
600
- _extends({}, props, {
600
+ _extends({ ref: 'root'
601
+ }, props, {
601
602
  onClick: this.onClick,
602
603
  onDoubleClick: this.onDoubleClick
603
604
  }),
@@ -621,8 +622,8 @@ webpackJsonp([0],{
621
622
  'use strict';
622
623
 
623
624
  var React = __webpack_require__(11);
625
+ var ReactDOM = __webpack_require__(270);
624
626
  var EventLayout = __webpack_require__(266);
625
-
626
627
  var IsResizeClass = new RegExp('(\\s|^)event(\\s|$)');
627
628
 
628
629
  var Event = React.createClass({
@@ -654,7 +655,7 @@ webpackJsonp([0],{
654
655
  if (!IsResizeClass.test(ev.target.className)) {
655
656
  return;
656
657
  }
657
- var bounds = this.refs.element.getBoundingClientRect();
658
+ var bounds = ReactDOM.findDOMNode(this.refs.element).getBoundingClientRect();
658
659
  var resize = void 0;
659
660
  if (ev.clientY - bounds.top < 10) {
660
661
  resize = { type: 'start' };
@@ -694,7 +695,7 @@ webpackJsonp([0],{
694
695
 
695
696
  /***/ },
696
697
 
697
- /***/ 270:
698
+ /***/ 400:
698
699
  /***/ function(module, exports, __webpack_require__) {
699
700
 
700
701
  'use strict';
@@ -1184,12 +1185,12 @@ webpackJsonp([0],{
1184
1185
  /***/ function(module, exports) {
1185
1186
 
1186
1187
  function E () {
1187
- // Keep this empty so it's easier to inherit from
1188
+ // Keep this empty so it's easier to inherit from
1188
1189
  // (via https://github.com/lipsmack from https://github.com/scottcorgan/tiny-emitter/issues/3)
1189
1190
  }
1190
1191
 
1191
1192
  E.prototype = {
1192
- on: function (name, callback, ctx) {
1193
+ on: function (name, callback, ctx) {
1193
1194
  var e = this.e || (this.e = {});
1194
1195
 
1195
1196
  (e[name] || (e[name] = [])).push({