@@ -160,8 +160,8 @@ return /******/ (function(modules) { // webpackBootstrap
160160	    var  target  =  e . target ; 
161161	    if  ( target . className  &&  ! target . className . match ( / d i s a b l e d / g) )  { 
162162	      var  month ; 
163- 	      if ( target . className . includes ( "new" ) )  month  =  this . state . viewDate . month ( )  +  1 ; 
164- 	      else  if ( target . className . includes ( "old" ) )  month  =  this . state . viewDate . month ( )  -  1 ; 
163+ 	      if ( target . className . indexOf ( "new" )   >=   0 )  month  =  this . state . viewDate . month ( )  +  1 ; 
164+ 	      else  if ( target . className . indexOf ( "old" )   >=   0 )  month  =  this . state . viewDate . month ( )  -  1 ; 
165165	      else  month  =  this . state . viewDate . month ( ) ; 
166166	      return  this . setState ( { 
167167	        selectedDate : this . state . viewDate . clone ( ) . month ( month ) . date ( parseInt ( e . target . innerHTML ) ) . hour ( this . state . selectedDate . hours ( ) ) . minute ( this . state . selectedDate . minutes ( ) ) 
@@ -440,6 +440,8 @@ return /******/ (function(modules) { // webpackBootstrap
440440
441441	var  Constants  =  __webpack_require__ ( 6 ) ; 
442442
443+ 	var  classnames  =  __webpack_require__ ( 9 ) ; 
444+ 
443445	DateTimePicker  =  React . createClass ( { displayName : "DateTimePicker" , 
444446	  propTypes : { 
445447	    showDatePicker : React . PropTypes . bool , 
@@ -527,7 +529,7 @@ return /******/ (function(modules) { // webpackBootstrap
527529	  } , 
528530	  render : function ( )  { 
529531	    return  ( 
530- 	      React . createElement ( "div" ,  { className : React . addons . classSet ( this . props . widgetClasses ) ,  style : this . props . widgetStyle } ,  
532+ 	      React . createElement ( "div" ,  { className : classnames ( this . props . widgetClasses ) ,  style : this . props . widgetStyle } ,  
531533
532534	        React . createElement ( "ul" ,  { className : "list-unstyled" } ,  
533535
@@ -566,11 +568,11 @@ return /******/ (function(modules) { // webpackBootstrap
566568
567569	React  =  __webpack_require__ ( 2 ) ; 
568570
569- 	DateTimePickerDays  =  __webpack_require__ ( 9 ) ; 
571+ 	DateTimePickerDays  =  __webpack_require__ ( 10 ) ; 
570572
571- 	DateTimePickerMonths  =  __webpack_require__ ( 10 ) ; 
573+ 	DateTimePickerMonths  =  __webpack_require__ ( 11 ) ; 
572574
573- 	DateTimePickerYears  =  __webpack_require__ ( 11 ) ; 
575+ 	DateTimePickerYears  =  __webpack_require__ ( 12 ) ; 
574576
575577	DateTimePickerDate  =  React . createClass ( { displayName : "DateTimePickerDate" , 
576578	  propTypes : { 
@@ -715,9 +717,9 @@ return /******/ (function(modules) { // webpackBootstrap
715717
716718	React  =  __webpack_require__ ( 2 ) ; 
717719
718- 	DateTimePickerMinutes  =  __webpack_require__ ( 12 ) ; 
720+ 	DateTimePickerMinutes  =  __webpack_require__ ( 13 ) ; 
719721
720- 	DateTimePickerHours  =  __webpack_require__ ( 13 ) ; 
722+ 	DateTimePickerHours  =  __webpack_require__ ( 14 ) ; 
721723
722724	var  Glyphicon  =  __webpack_require__ ( 4 ) . Glyphicon ; 
723725
@@ -835,6 +837,61 @@ return /******/ (function(modules) { // webpackBootstrap
835837
836838/***/  } , 
837839/* 9 */ 
840+ /***/  function ( module ,  exports ,  __webpack_require__ )  { 
841+ 
842+ 	var  __WEBPACK_AMD_DEFINE_RESULT__ ; /*! 
843+ 	  Copyright (c) 2015 Jed Watson. 
844+ 	  Licensed under the MIT License (MIT), see 
845+ 	  http://jedwatson.github.io/classnames 
846+ 	*/ 
847+ 
848+ 	( function  ( )  { 
849+ 		'use strict' ; 
850+ 
851+ 		function  classNames  ( )  { 
852+ 
853+ 			var  classes  =  '' ; 
854+ 
855+ 			for  ( var  i  =  0 ;  i  <  arguments . length ;  i ++ )  { 
856+ 				var  arg  =  arguments [ i ] ; 
857+ 				if  ( ! arg )  continue ; 
858+ 
859+ 				var  argType  =  typeof  arg ; 
860+ 
861+ 				if  ( 'string'  ===  argType  ||  'number'  ===  argType )  { 
862+ 					classes  +=  ' '  +  arg ; 
863+ 
864+ 				}  else  if  ( Array . isArray ( arg ) )  { 
865+ 					classes  +=  ' '  +  classNames . apply ( null ,  arg ) ; 
866+ 
867+ 				}  else  if  ( 'object'  ===  argType )  { 
868+ 					for  ( var  key  in  arg )  { 
869+ 						if  ( arg . hasOwnProperty ( key )  &&  arg [ key ] )  { 
870+ 							classes  +=  ' '  +  key ; 
871+ 						} 
872+ 					} 
873+ 				} 
874+ 			} 
875+ 
876+ 			return  classes . substr ( 1 ) ; 
877+ 		} 
878+ 
879+ 		if  ( typeof  module  !==  'undefined'  &&  module . exports )  { 
880+ 			module . exports  =  classNames ; 
881+ 		}  else  if  ( true ) { 
882+ 			// AMD. Register as an anonymous module. 
883+ 			! ( __WEBPACK_AMD_DEFINE_RESULT__  =  function  ( )  { 
884+ 				return  classNames ; 
885+ 			} . call ( exports ,  __webpack_require__ ,  exports ,  module ) ,  __WEBPACK_AMD_DEFINE_RESULT__  !==  undefined  &&  ( module . exports  =  __WEBPACK_AMD_DEFINE_RESULT__ ) ) ; 
886+ 		}  else  { 
887+ 			window . classNames  =  classNames ; 
888+ 		} 
889+ 
890+ 	} ( ) ) ; 
891+ 
892+ 
893+ /***/  } , 
894+ /* 10 */ 
838895/***/  function ( module ,  exports ,  __webpack_require__ )  { 
839896
840897	var  DateTimePickerDays ,  React ,  moment ; 
@@ -843,6 +900,8 @@ return /******/ (function(modules) { // webpackBootstrap
843900
844901	moment  =  __webpack_require__ ( 3 ) ; 
845902
903+ 	var  classnames  =  __webpack_require__ ( 9 ) ; 
904+ 
846905	DateTimePickerDays  =  React . createClass ( { displayName : "DateTimePickerDays" , 
847906	  propTypes : { 
848907	    subtractMonth : React . PropTypes . func . isRequired , 
@@ -907,7 +966,7 @@ return /******/ (function(modules) { // webpackBootstrap
907966	          } 
908967	        } 
909968	      } 
910- 	      cells . push ( React . createElement ( "td" ,  { key : prevMonth . month ( )  +  '-'  +  prevMonth . date ( ) ,  className : React . addons . classSet ( classes ) ,  onClick : this . props . setSelectedDate } ,  prevMonth . date ( ) ) ) ; 
969+ 	      cells . push ( React . createElement ( "td" ,  { key : prevMonth . month ( )  +  '-'  +  prevMonth . date ( ) ,  className : classnames ( classes ) ,  onClick : this . props . setSelectedDate } ,  prevMonth . date ( ) ) ) ; 
911970	      if  ( prevMonth . weekday ( )  ===  moment ( ) . endOf ( 'week' ) . weekday ( ) )  { 
912971	        row  =  React . createElement ( "tr" ,  { key : prevMonth . month ( )  +  '-'  +  prevMonth . date ( ) } ,  cells ) ; 
913972	        html . push ( row ) ; 
@@ -960,7 +1019,7 @@ return /******/ (function(modules) { // webpackBootstrap
9601019
9611020
9621021/***/  } , 
963- /* 10  */ 
1022+ /* 11  */ 
9641023/***/  function ( module ,  exports ,  __webpack_require__ )  { 
9651024
9661025	var  DateTimePickerMonths ,  React ,  moment ; 
@@ -969,6 +1028,8 @@ return /******/ (function(modules) { // webpackBootstrap
9691028
9701029	moment  =  __webpack_require__ ( 3 ) ; 
9711030
1031+ 	var  classnames  =  __webpack_require__ ( 9 ) ; 
1032+ 
9721033	DateTimePickerMonths  =  React . createClass ( { displayName : "DateTimePickerMonths" , 
9731034	  propTypes : { 
9741035	    subtractYear : React . PropTypes . func . isRequired , 
@@ -989,7 +1050,7 @@ return /******/ (function(modules) { // webpackBootstrap
9891050	        month : true , 
9901051	        'active' : i  ===  month  &&  this . props . viewDate . year ( )  ===  this . props . selectedDate . year ( ) 
9911052	      } ; 
992- 	      months . push ( React . createElement ( "span" ,  { key : i ,  className : React . addons . classSet ( classes ) ,  onClick : this . props . setViewMonth } ,  monthsShort [ i ] ) ) ; 
1053+ 	      months . push ( React . createElement ( "span" ,  { key : i ,  className : classnames ( classes ) ,  onClick : this . props . setViewMonth } ,  monthsShort [ i ] ) ) ; 
9931054	      i ++ ; 
9941055	    } 
9951056	    return  months ; 
@@ -1023,13 +1084,15 @@ return /******/ (function(modules) { // webpackBootstrap
10231084
10241085
10251086/***/  } , 
1026- /* 11  */ 
1087+ /* 12  */ 
10271088/***/  function ( module ,  exports ,  __webpack_require__ )  { 
10281089
10291090	var  DateTimePickerYears ,  React ; 
10301091
10311092	React  =  __webpack_require__ ( 2 ) ; 
10321093
1094+ 	var  classnames  =  __webpack_require__ ( 9 ) ; 
1095+ 
10331096	DateTimePickerYears  =  React . createClass ( { displayName : "DateTimePickerYears" , 
10341097	  propTypes : { 
10351098	    subtractDecade : React . PropTypes . func . isRequired , 
@@ -1050,7 +1113,7 @@ return /******/ (function(modules) { // webpackBootstrap
10501113	        old : i  ===  - 1  |  i  ===  10 , 
10511114	        active : this . props . selectedDate . year ( )  ===  year 
10521115	      } ; 
1053- 	      years . push ( React . createElement ( "span" ,  { key : year ,  className : React . addons . classSet ( classes ) ,  onClick : this . props . setViewYear } ,  year ) ) ; 
1116+ 	      years . push ( React . createElement ( "span" ,  { key : year ,  className : classnames ( classes ) ,  onClick : this . props . setViewYear } ,  year ) ) ; 
10541117	      year ++ ; 
10551118	      i ++ ; 
10561119	    } 
@@ -1087,7 +1150,7 @@ return /******/ (function(modules) { // webpackBootstrap
10871150
10881151
10891152/***/  } , 
1090- /* 12  */ 
1153+ /* 13  */ 
10911154/***/  function ( module ,  exports ,  __webpack_require__ )  { 
10921155
10931156	var  DateTimePickerMinutes ,  React ; 
@@ -1158,7 +1221,7 @@ return /******/ (function(modules) { // webpackBootstrap
11581221
11591222
11601223/***/  } , 
1161- /* 13  */ 
1224+ /* 14  */ 
11621225/***/  function ( module ,  exports ,  __webpack_require__ )  { 
11631226
11641227	var  DateTimePickerHours ,  React ; 
0 commit comments