source: frontend/node_modules/underscore/amd/isDataView.js

Last change on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 12 days ago

Fix frontend appearance

  • Property mode set to 100644
File size: 529 bytes
Line 
1define(['./_tagTester', './isFunction', './isArrayBuffer', './_stringTagBug'], function (_tagTester, isFunction, isArrayBuffer, _stringTagBug) {
2
3 var isDataView = _tagTester('DataView');
4
5 // In IE 10 - Edge 13, we need a different heuristic
6 // to determine whether an object is a `DataView`.
7 function ie10IsDataView(obj) {
8 return obj != null && isFunction(obj.getInt8) && isArrayBuffer(obj.buffer);
9 }
10
11 var isDataView$1 = (_stringTagBug.hasStringTagBug ? ie10IsDataView : isDataView);
12
13 return isDataView$1;
14
15});
Note: See TracBrowser for help on using the repository browser.