Browse Source

js -> jsx

oldj 8 years ago
parent
commit
3ad72d9991

File diff suppressed because it is too large
+ 0 - 1
app/bundle.js


+ 1 - 1
app/package.json

@@ -1,6 +1,6 @@
 {
   "name": "switchhosts",
-  "version": "3.3.2",
+  "version": "3.3.3",
   "description": "Switch hosts quickly!",
   "main": "main.js",
   "scripts": {

+ 1 - 1
app/version.js

@@ -1 +1 @@
-exports.version = [3,3,2,5199];
+exports.version = [3,3,3,5201];

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "switchhosts",
-  "version": "3.3.2",
+  "version": "3.3.3",
   "description": "Homepage: [https://oldj.github.io/SwitchHosts/](https://oldj.github.io/SwitchHosts/)",
   "main": "",
   "scripts": {

+ 0 - 0
ui/app.js → ui/app.jsx


+ 0 - 0
ui/content/content.js → ui/content/content.jsx


+ 0 - 0
ui/content/editor.js → ui/content/editor.jsx


+ 0 - 0
ui/frame/edit.js → ui/frame/edit.jsx


+ 0 - 0
ui/frame/frame.js → ui/frame/frame.jsx


+ 0 - 0
ui/frame/group.js → ui/frame/group.jsx


+ 0 - 0
ui/frame/preferences.js → ui/frame/preferences.jsx


+ 0 - 0
ui/frame/sudo.js → ui/frame/sudo.jsx


+ 0 - 0
ui/index.js → ui/index.jsx


+ 0 - 0
ui/panel/buttons.js → ui/panel/buttons.jsx


+ 0 - 0
ui/panel/list-item.js → ui/panel/list-item.jsx


+ 0 - 0
ui/panel/list.js → ui/panel/list.jsx


+ 0 - 0
ui/panel/panel.js → ui/panel/panel.jsx


+ 0 - 0
ui/panel/searchbar.js → ui/panel/searchbar.jsx


+ 2 - 5
webpack.config.js

@@ -11,7 +11,7 @@ const moment = require('moment')
 const version = require('./app/version').version.join('.')
 
 module.exports = {
-  entry: './ui/index.js',
+  entry: './ui/index.jsx',
   devtool: 'source-map',
   output: {
     path: path.join(__dirname, 'app')
@@ -37,10 +37,7 @@ module.exports = {
         test: /\.(eot|woff|woff2|ttf|svg|png|jpg)$/,
         use: 'url-loader?limit=30000&name=[name]-[hash].[ext]'
       }
-    ]//,
-    // query: {
-    // presets: ['es2015', 'stage-0', 'react']
-    // }
+    ]
     , noParse: [/\bAgent\b/]
   },
   plugins: [

Some files were not shown because too many files changed in this diff