File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -223,15 +223,19 @@ const ReactPlayground = React.createClass({
223223 let mountNode = this . refs . mount . getDOMNode ( ) ;
224224 try {
225225 React . unmountComponentAtNode ( mountNode ) ;
226- } catch ( e ) { }
226+ } catch ( e ) {
227+ console . error ( e ) ;
228+ }
227229 } ,
228230
229231 executeCode ( ) {
230232 let mountNode = this . refs . mount . getDOMNode ( ) ;
231233
232234 try {
233235 React . unmountComponentAtNode ( mountNode ) ;
234- } catch ( e ) { }
236+ } catch ( e ) {
237+ console . error ( e ) ;
238+ }
235239
236240 try {
237241 let compiledCode = this . compileCode ( ) ;
Original file line number Diff line number Diff line change 4545 "colors" : " ^1.0.3" ,
4646 "css-loader" : " ^0.9.1" ,
4747 "es5-shim" : " ^4.1.0" ,
48- "eslint" : " ^0.17.1 " ,
48+ "eslint" : " ^0.18.0 " ,
4949 "eslint-plugin-react" : " ^1.6.0" ,
5050 "express" : " ^3.4.8" ,
5151 "extract-text-webpack-plugin" : " ^0.3.8" ,
You can’t perform that action at this time.
0 commit comments