aboutsummaryrefslogtreecommitdiffstats
path: root/web/gulpfile.js
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2014-09-16 16:26:16 +1200
committerAldo Cortesi <aldo@nullcube.com>2014-09-16 16:27:09 +1200
commit6efe1aa6a92ce7f9f264903e9d27fb5cf6c32bfe (patch)
treee654b27eeb7a44c61c0e1a43850966735aefb3cd /web/gulpfile.js
parent6bac1540bd9383c4e6e0510d9b75db34346187ed (diff)
downloadmitmproxy-6efe1aa6a92ce7f9f264903e9d27fb5cf6c32bfe.tar.gz
mitmproxy-6efe1aa6a92ce7f9f264903e9d27fb5cf6c32bfe.tar.bz2
mitmproxy-6efe1aa6a92ce7f9f264903e9d27fb5cf6c32bfe.zip
We're not ready for ES6
Lets re-evaluate in June next year when it's actually released
Diffstat (limited to 'web/gulpfile.js')
-rw-r--r--web/gulpfile.js24
1 files changed, 12 insertions, 12 deletions
diff --git a/web/gulpfile.js b/web/gulpfile.js
index 6f72016b..50c1a3fa 100644
--- a/web/gulpfile.js
+++ b/web/gulpfile.js
@@ -32,17 +32,17 @@ var path = {
'vendor/react-bootstrap/react-bootstrap.js'
],
app: [
- 'js/Dispatcher.es6.js',
- 'js/actions.es6.js',
- 'js/stores/base.es6.js',
- 'js/stores/SettingsStore.es6.js',
- 'js/stores/EventLogStore.es6.js',
- 'js/Connection.es6.js',
- 'js/components/Header.react.js',
- 'js/components/TrafficTable.react.js',
- 'js/components/EventLog.react.js',
- 'js/components/Footer.react.js',
- 'js/components/ProxyApp.react.js',
+ 'js/dispatcher.js',
+ 'js/actions.js',
+ 'js/stores/base.js',
+ 'js/stores/settingstore.js',
+ 'js/stores/eventlogstore.js',
+ 'js/connection.js',
+ 'js/components/header.jsx',
+ 'js/components/traffictable.jsx',
+ 'js/components/eventlog.jsx',
+ 'js/components/footer.jsx',
+ 'js/components/proxyapp.jsx',
'js/app.js',
],
},
@@ -81,7 +81,7 @@ function scripts(files, filename, dev) {
return gulp.src(files, {base: "src", cwd: "src"})
.pipe(dev ? dont_break_on_errors(): gutil.noop())
.pipe(dev ? sourcemaps.init() : gutil.noop())
- .pipe(react({harmony: true}))
+ .pipe(react({harmony: false}))
.pipe(concat(filename))
.pipe(!dev ? uglify() : gutil.noop())
.pipe(dev ? sourcemaps.write(".", {sourceRoot: "/static"}) : gutil.noop())