Skip to content

Commit

Permalink
fix #285
Browse files Browse the repository at this point in the history
  • Loading branch information
zloirock committed May 1, 2017
1 parent 9e03f88 commit 0e59c71
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion library/modules/_typed-array.js
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,10 @@ if(require('./_descriptors')){
$export($export.G + $export.W + $export.F * (TypedArray != Base), O);

$export($export.S, NAME, {
BYTES_PER_ELEMENT: BYTES,
BYTES_PER_ELEMENT: BYTES
});

$export($export.S + $export.F * fails(function(){ Base.of.call(TypedArray, 1); }), NAME, {
from: $from,
of: $of
});
Expand Down
5 changes: 4 additions & 1 deletion modules/_typed-array.js
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,10 @@ if(require('./_descriptors')){
$export($export.G + $export.W + $export.F * (TypedArray != Base), O);

$export($export.S, NAME, {
BYTES_PER_ELEMENT: BYTES,
BYTES_PER_ELEMENT: BYTES
});

$export($export.S + $export.F * fails(function(){ Base.of.call(TypedArray, 1); }), NAME, {
from: $from,
of: $of
});
Expand Down

0 comments on commit 0e59c71

Please sign in to comment.