Permalink
Browse files

Fix regression in Opera 11.10

This was a combination of `debug` using a reserved property name and
uglify removing quotes for a reserved Object key literal name.

Fixes #359
  • Loading branch information...
brycekahle committed Apr 30, 2017
1 parent f77d65e commit 2c4845591dd097eaba27757762e48230860c174d
Showing with 4 additions and 4 deletions.
  1. +1 −1 gulpfile.js
  2. +3 −3 package.json
View
@@ -73,7 +73,7 @@ gulp.task('browserify:min', ['write-version'], function (cb) {
source('sockjs.min.js'),
buffer(),
sourcemaps.init({ loadMaps: true }),
uglify({ compress: { pure_funcs: ['debug'] } }),
uglify({ compress: { pure_funcs: ['debug'] }, output: { beautify: false, keep_quoted_props: true } }),
header(banner, { pkg: pkg }),
sourcemaps.write('./'),
gulp.dest('./build/')
View
@@ -24,7 +24,7 @@
}
],
"dependencies": {
"debug": "^2.2.0",
"debug": "^2.6.6",
"eventsource": "0.1.6",
"faye-websocket": "~0.11.0",
"inherits": "^2.0.1",
@@ -40,9 +40,9 @@
"gulp-header": "^1.8.8",
"gulp-rename": "~1.2.0",
"gulp-replace": "^0.5.4",
"gulp-sourcemaps": "^2.4.0",
"gulp-uglify": "^2.0.0",
"mocha": "^3.2.0",
"gulp-sourcemaps": "^2.6.0",
"gulp-uglify": "^2.1.2",
"node-static": "^0.7.6",
"proxyquire": "^1.7.10",
"pump": "^1.0.2",

0 comments on commit 2c48455

Please sign in to comment.