Skip to content

Commit

Permalink
Fixed IE8 "Expected identifier" error
Browse files Browse the repository at this point in the history
  • Loading branch information
vgoma committed Jan 16, 2017
1 parent 1c163a4 commit 78ae6c9
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2.6.1 / 2017-01-16
==================

* Fix: Module's `export default` syntax fix for IE8 `Expected identifier` error

2.6.0 / 2016-12-28
==================
Expand Down
2 changes: 1 addition & 1 deletion component.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "debug",
"repo": "visionmedia/debug",
"description": "small debugging utility",
"version": "2.6.0",
"version": "2.6.1",
"keywords": [
"debug",
"log",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "debug",
"version": "2.6.0",
"version": "2.6.1",
"repository": {
"type": "git",
"url": "git://github.com/visionmedia/debug.git"
Expand Down
2 changes: 1 addition & 1 deletion src/debug.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* Expose `debug()` as the module.
*/

exports = module.exports = createDebug.debug = createDebug.default = createDebug;
exports = module.exports = createDebug.debug = createDebug['default'] = createDebug;
exports.coerce = coerce;
exports.disable = disable;
exports.enable = enable;
Expand Down

3 comments on commit 78ae6c9

@vvo
Copy link

@vvo vvo commented on 78ae6c9 Feb 6, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you npm publish this? Thanks

@vvo
Copy link

@vvo vvo commented on 78ae6c9 Feb 6, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@thebigredgeek
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will slice a release this afternoon

Please sign in to comment.