@@ -1033,44 +1033,10 @@ var RNS_REMOVE_ALL_NOTIFICATIONS = exports.RNS_REMOVE_ALL_NOTIFICATIONS = 'RNS_R
10331033
10341034} , { } ] , 12 :[ function ( require , module , exports ) {
10351035( function ( global ) {
1036- Object . defineProperty ( exports , "__esModule" , {
1037- value : true
1038- } ) ;
1039- exports . reducer = undefined ;
1040-
10411036var _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 ; } ;
10421037
10431038var _createClass = function ( ) { function defineProperties ( target , props ) { for ( var i = 0 ; i < props . length ; i ++ ) { var descriptor = props [ i ] ; descriptor . enumerable = descriptor . enumerable || false ; descriptor . configurable = true ; if ( "value" in descriptor ) descriptor . writable = true ; Object . defineProperty ( target , descriptor . key , descriptor ) ; } } return function ( Constructor , protoProps , staticProps ) { if ( protoProps ) defineProperties ( Constructor . prototype , protoProps ) ; if ( staticProps ) defineProperties ( Constructor , staticProps ) ; return Constructor ; } ; } ( ) ;
10441039
1045- var _actions = require ( './actions' ) ;
1046-
1047- Object . keys ( _actions ) . forEach ( function ( key ) {
1048- if ( key === "default" || key === "__esModule" ) return ;
1049- Object . defineProperty ( exports , key , {
1050- enumerable : true ,
1051- get : function ( ) {
1052- function get ( ) {
1053- return _actions [ key ] ;
1054- }
1055-
1056- return get ;
1057- } ( )
1058- } ) ;
1059- } ) ;
1060-
1061- var _reducer = require ( './reducer' ) ;
1062-
1063- Object . defineProperty ( exports , 'reducer' , {
1064- enumerable : true ,
1065- get : function ( ) {
1066- function get ( ) {
1067- return _interopRequireDefault ( _reducer ) [ 'default' ] ;
1068- }
1069-
1070- return get ;
1071- } ( )
1072- } ) ;
1073-
10741040var _react = ( typeof window !== "undefined" ? window [ 'React' ] : typeof global !== "undefined" ? global [ 'React' ] : null ) ;
10751041
10761042var _react2 = _interopRequireDefault ( _react ) ;
@@ -1079,8 +1045,14 @@ var _propTypes = require('prop-types');
10791045
10801046var _propTypes2 = _interopRequireDefault ( _propTypes ) ;
10811047
1048+ var _actions = require ( './actions' ) ;
1049+
10821050var actions = _interopRequireWildcard ( _actions ) ;
10831051
1052+ var _reducer = require ( './reducer' ) ;
1053+
1054+ var _reducer2 = _interopRequireDefault ( _reducer ) ;
1055+
10841056var _reactNotificationSystem = require ( 'react-notification-system' ) ;
10851057
10861058var _reactNotificationSystem2 = _interopRequireDefault ( _reactNotificationSystem ) ;
@@ -1193,8 +1165,14 @@ Notifications.contextTypes = {
11931165 store : _propTypes2 [ 'default' ] . object
11941166} ;
11951167
1196- // Export actions and reducer
1197- exports [ 'default' ] = Notifications ;
1168+ // Tie actions to Notifications component instance
1169+ Object . keys ( actions ) . forEach ( function ( key ) {
1170+ Notifications [ key ] = actions [ key ] ;
1171+ } ) ;
1172+
1173+ Notifications . reducer = _reducer2 [ 'default' ] ;
1174+
1175+ module . exports = Notifications ;
11981176
11991177} ) . call ( this , typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : { } )
12001178} , { "./actions" :10 , "./reducer" :13 , "prop-types" :8 , "react-notification-system" :undefined } ] , 13 :[ function ( require , module , exports ) {
0 commit comments