Skip to content
This repository has been archived by the owner on Feb 28, 2018. It is now read-only.

Commit

Permalink
Merge pull request #6 from ekulabuhov/master
Browse files Browse the repository at this point in the history
Added support for JSX files
  • Loading branch information
christianalfoni authored Mar 13, 2017
2 parents 6da4c5f + 4b0b9ba commit ba55c6f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/components/Desktop/CodeEditor/modes/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export default {

switch (ext) {
case '.js':
case '.jsx':
return JSX
case '.css':
return CSS
Expand Down
1 change: 1 addition & 0 deletions src/modules/files/actions/isValidFile.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import nodePath from 'path'

const validFileNames = [
'.js',
'.jsx',
'.css',
'.html',
'.json',
Expand Down

0 comments on commit ba55c6f

Please sign in to comment.