File tree 6 files changed +222
-338
lines changed
6 files changed +222
-338
lines changed Original file line number Diff line number Diff line change @@ -28,3 +28,5 @@ build/Release
28
28
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git
29
29
node_modules
30
30
uploads
31
+ dist
32
+ lib
Original file line number Diff line number Diff line change
1
+ example
2
+ node_modules
3
+ uploads
Original file line number Diff line number Diff line change 39
39
"react-dom" : " ^15.3.1" ,
40
40
"react-tools" : " ^0.13.3" ,
41
41
"reactify" : " ^1.1.1" ,
42
+ "standard" : " ^10.0.2" ,
42
43
"tape" : " ^3.5.0" ,
43
44
"webpack-stream" : " ^3.1.0"
44
45
},
45
46
"dependencies" : {
46
47
"create-react-class" : " ^15.5.2" ,
47
- "dropzone" : " ^4.3.0"
48
+ "dropzone" : " ^4.3.0" ,
49
+ "extend" : " ^3.0.0"
48
50
},
49
51
"scripts" : {
50
52
"build" : " gulp bundle-js" ,
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- 'use strict' ;
1
+ const React = require ( 'react' )
2
+ const createReactClass = require ( 'create-react-class' )
2
3
3
- var React = require ( 'react' ) ,
4
- createReactClass = require ( 'create-react-class' ) ;
4
+ const Icon = createReactClass ( {
5
+ render : function ( ) {
6
+ return < div data-filetype = { this . props . filetype } className = 'filepicker-file-icon' />
7
+ }
8
+ } )
5
9
6
- var Icon = createReactClass ( {
7
- render : function ( ) {
8
- return (
9
- < div data-filetype = { this . props . filetype } className = "filepicker-file-icon" />
10
- ) ;
11
- }
12
- } ) ;
13
-
14
- module . exports = Icon ;
10
+ module . exports = Icon
You can’t perform that action at this time.
0 commit comments