MCPcopy Create free account
hub / github.com/feiyu563/PrometheusAlert / exportTypedArrayMethod

Function exportTypedArrayMethod

static/plugins/pdfmake/pdfmake.js:6261–6275  ·  view source on GitHub ↗
(KEY, property, forced)

Source from the content-addressed store, hash-verified

6259};
6260
6261var exportTypedArrayMethod = function exportTypedArrayMethod(KEY, property, forced) {
6262 if (!DESCRIPTORS) return;
6263 if (forced) for (var ARRAY in TypedArrayConstructorsList) {
6264 var TypedArrayConstructor = global[ARRAY];
6265 if (TypedArrayConstructor && hasOwn(TypedArrayConstructor.prototype, KEY)) try {
6266 delete TypedArrayConstructor.prototype[KEY];
6267 } catch (error) {
6268 /* empty */
6269 }
6270 }
6271
6272 if (!TypedArrayPrototype[KEY] || forced) {
6273 redefine(TypedArrayPrototype, KEY, forced ? property : NATIVE_ARRAY_BUFFER_VIEWS && Int8ArrayPrototype[KEY] || property);
6274 }
6275};
6276
6277var exportTypedArrayStaticMethod = function exportTypedArrayStaticMethod(KEY, property, forced) {
6278 var ARRAY, TypedArrayConstructor;

Callers 1

pdfmake.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected