1
1
/*!
2
- *
2
+ *
3
3
* React Simpletabs - Just a simple tabs component built with React
4
- * @version v0.6.1
4
+ * @version v0.7.0
5
5
* @link https://github.com/pedronauck/react-simpletabs
6
6
* @license MIT
7
7
* @author Pedro Nauck (https://github.com/pedronauck)
8
- *
8
+ *
9
9
*/
10
10
( function webpackUniversalModuleDefinition ( root , factory ) {
11
11
if ( typeof exports === 'object' && typeof module === 'object' )
20
20
return /******/ ( function ( modules ) { // webpackBootstrap
21
21
/******/ // The module cache
22
22
/******/ var installedModules = { } ;
23
-
23
+ /******/
24
24
/******/ // The require function
25
25
/******/ function __webpack_require__ ( moduleId ) {
26
-
26
+ /******/
27
27
/******/ // Check if module is in cache
28
28
/******/ if ( installedModules [ moduleId ] )
29
29
/******/ return installedModules [ moduleId ] . exports ;
30
-
30
+ /******/
31
31
/******/ // Create a new module (and put it into the cache)
32
32
/******/ var module = installedModules [ moduleId ] = {
33
33
/******/ exports : { } ,
34
34
/******/ id : moduleId ,
35
35
/******/ loaded : false
36
36
/******/ } ;
37
-
37
+ /******/
38
38
/******/ // Execute the module function
39
39
/******/ modules [ moduleId ] . call ( module . exports , module , module . exports , __webpack_require__ ) ;
40
-
40
+ /******/
41
41
/******/ // Flag the module as loaded
42
42
/******/ module . loaded = true ;
43
-
43
+ /******/
44
44
/******/ // Return the exports of the module
45
45
/******/ return module . exports ;
46
46
/******/ }
47
-
48
-
47
+ /******/
48
+ /******/
49
49
/******/ // expose the modules object (__webpack_modules__)
50
50
/******/ __webpack_require__ . m = modules ;
51
-
51
+ /******/
52
52
/******/ // expose the module cache
53
53
/******/ __webpack_require__ . c = installedModules ;
54
-
54
+ /******/
55
55
/******/ // __webpack_public_path__
56
56
/******/ __webpack_require__ . p = "" ;
57
-
57
+ /******/
58
58
/******/ // Load entry module and return exports
59
59
/******/ return __webpack_require__ ( 0 ) ;
60
60
/******/ } )
@@ -114,8 +114,8 @@ return /******/ (function(modules) { // webpackBootstrap
114
114
render :function ( ) {
115
115
var className = classNames ( 'tabs' , this . props . className ) ;
116
116
return (
117
- React . createElement ( "div" , { className : className } ,
118
- this . _getMenuItems ( ) ,
117
+ React . createElement ( "div" , { className : className } ,
118
+ this . _getMenuItems ( ) ,
119
119
this . _getSelectedPanel ( )
120
120
)
121
121
) ;
@@ -160,16 +160,16 @@ return /******/ (function(modules) { // webpackBootstrap
160
160
) ;
161
161
162
162
return (
163
- React . createElement ( "li" , { ref : ref , key : index , className : classes } ,
164
- React . createElement ( "a" , { onClick : this . setActive . bind ( this , index + 1 ) } ,
163
+ React . createElement ( "li" , { ref : ref , key : index , className : classes } ,
164
+ React . createElement ( "a" , { onClick : this . setActive . bind ( this , index + 1 ) } ,
165
165
title
166
166
)
167
167
)
168
168
) ;
169
169
} . bind ( this ) ) ;
170
170
171
171
return (
172
- React . createElement ( "nav" , { className : "tabs-navigation" } ,
172
+ React . createElement ( "nav" , { className : "tabs-navigation" } ,
173
173
React . createElement ( "ul" , { className : "tabs-menu" } , $menuItems )
174
174
)
175
175
) ;
@@ -179,7 +179,7 @@ return /******/ (function(modules) { // webpackBootstrap
179
179
var $panel = this . props . children [ index ] ;
180
180
181
181
return (
182
- React . createElement ( "article" , { ref : "tab-panel" , className : "tab-panel" } ,
182
+ React . createElement ( "article" , { ref : "tab-panel" , className : "tab-panel" } ,
183
183
$panel
184
184
)
185
185
) ;
@@ -205,21 +205,15 @@ return /******/ (function(modules) { // webpackBootstrap
205
205
206
206
/***/ } ,
207
207
/* 1 */
208
- /***/ function ( module , exports ) {
208
+ /***/ function ( module , exports , __webpack_require__ ) {
209
209
210
210
module . exports = __WEBPACK_EXTERNAL_MODULE_1__ ;
211
211
212
212
/***/ } ,
213
213
/* 2 */
214
214
/***/ function ( module , exports , __webpack_require__ ) {
215
215
216
- var __WEBPACK_AMD_DEFINE_ARRAY__ , __WEBPACK_AMD_DEFINE_RESULT__ ; /** @jsx React.DOM */ /*!
217
- Copyright (c) 2015 Jed Watson.
218
- Licensed under the MIT License (MIT), see
219
- http://jedwatson.github.io/classnames
220
- */
221
-
222
- function classNames ( ) {
216
+ /** @jsx React.DOM */ function classNames ( ) {
223
217
var classes = '' ;
224
218
var arg ;
225
219
@@ -245,26 +239,18 @@ return /******/ (function(modules) { // webpackBootstrap
245
239
return classes . substr ( 1 ) ;
246
240
}
247
241
248
- // safely export classNames for node / browserify
242
+ // safely export classNames in case the script is included directly on a page
249
243
if ( typeof module !== 'undefined' && module . exports ) {
250
244
module . exports = classNames ;
251
245
}
252
246
253
- // safely export classNames for RequireJS
254
- if ( true ) {
255
- ! ( __WEBPACK_AMD_DEFINE_ARRAY__ = [ ] , __WEBPACK_AMD_DEFINE_RESULT__ = function ( ) {
256
- return classNames ;
257
- } . apply ( exports , __WEBPACK_AMD_DEFINE_ARRAY__ ) , __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && ( module . exports = __WEBPACK_AMD_DEFINE_RESULT__ ) ) ;
258
- }
259
-
260
247
261
248
/***/ } ,
262
249
/* 3 */
263
- /***/ function ( module , exports ) {
250
+ /***/ function ( module , exports , __webpack_require__ ) {
264
251
265
252
// removed by extract-text-webpack-plugin
266
253
267
254
/***/ }
268
255
/******/ ] )
269
256
} ) ;
270
- ;
0 commit comments