|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 11 days ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
565 bytes
|
| Line | |
|---|
| 1 | var _tagTester = require('./_tagTester.js');
|
|---|
| 2 | var isFunction = require('./isFunction.js');
|
|---|
| 3 | var isArrayBuffer = require('./isArrayBuffer.js');
|
|---|
| 4 | var _stringTagBug = require('./_stringTagBug.js');
|
|---|
| 5 |
|
|---|
| 6 | var isDataView = _tagTester('DataView');
|
|---|
| 7 |
|
|---|
| 8 | // In IE 10 - Edge 13, we need a different heuristic
|
|---|
| 9 | // to determine whether an object is a `DataView`.
|
|---|
| 10 | function ie10IsDataView(obj) {
|
|---|
| 11 | return obj != null && isFunction(obj.getInt8) && isArrayBuffer(obj.buffer);
|
|---|
| 12 | }
|
|---|
| 13 |
|
|---|
| 14 | var isDataView$1 = (_stringTagBug.hasStringTagBug ? ie10IsDataView : isDataView);
|
|---|
| 15 |
|
|---|
| 16 | module.exports = isDataView$1;
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.