mirror of
https://github.com/Azure/k8s-deploy.git
synced 2026-06-23 21:19:28 +08:00
Add node modules and compiled JavaScript from main (#172)
Co-authored-by: Oliver King <oking3@uncc.edu>
This commit is contained in:
committed by
GitHub
parent
ee3c5aed75
commit
08d466b6ab
+14
@@ -0,0 +1,14 @@
|
||||
import tagTester from './_tagTester.js';
|
||||
import isFunction from './isFunction.js';
|
||||
import isArrayBuffer from './isArrayBuffer.js';
|
||||
import { hasStringTagBug } from './_stringTagBug.js';
|
||||
|
||||
var isDataView = tagTester('DataView');
|
||||
|
||||
// In IE 10 - Edge 13, we need a different heuristic
|
||||
// to determine whether an object is a `DataView`.
|
||||
function ie10IsDataView(obj) {
|
||||
return obj != null && isFunction(obj.getInt8) && isArrayBuffer(obj.buffer);
|
||||
}
|
||||
|
||||
export default (hasStringTagBug ? ie10IsDataView : isDataView);
|
||||
Reference in New Issue
Block a user