Skip to content

Commit

Permalink
Fix compatibility issue with Buble transpiler
Browse files Browse the repository at this point in the history
This quick'n'dirty fix allows dependents to use Bublé transpiler: bublejs/buble#150
  • Loading branch information
chge committed Sep 6, 2018
1 parent 77dbe9a commit 872ae3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/asn1.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ class LocalBaseBlock
* @property {ArrayBuffer} valueHex
*/
//noinspection JSUnusedLocalSymbols
const LocalHexBlock = BaseClass => class LocalHexBlockMixin extends BaseClass
const LocalHexBlock = BaseClass => (class LocalHexBlockMixin extends BaseClass
{
//**********************************************************************************
//noinspection JSUnusedGlobalSymbols
Expand Down Expand Up @@ -240,7 +240,7 @@ const LocalHexBlock = BaseClass => class LocalHexBlockMixin extends BaseClass
return object;
}
//**********************************************************************************
};
});
//**************************************************************************************
//endregion
//**************************************************************************************
Expand Down

0 comments on commit 872ae3c

Please sign in to comment.