mirror of
https://github.com/Azure/setup-helm.git
synced 2025-10-20 09:36:34 +00:00
Add node modules and new code for release (#57)
Co-authored-by: taakleton <taakleton@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
da63a48ad7
commit
a517f2ff65
14
node_modules/underscore/modules/isDataView.js
generated
vendored
Normal file
14
node_modules/underscore/modules/isDataView.js
generated
vendored
Normal file
@@ -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