Skip to content

Commit

Permalink
Fix regression in Opera 11.10
Browse files Browse the repository at this point in the history
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 2c48455
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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/')
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand Down

0 comments on commit 2c48455

Please sign in to comment.