MCPcopy Index your code
hub / github.com/plotly/plotly.js / collectionToArray

Function collectionToArray

test/jasmine/assets/custom_assertions.js:379–384  ·  view source on GitHub ↗
(collection)

Source from the content-addressed store, hash-verified

377}
378
379function collectionToArray(collection) {
380 var len = collection.length;
381 var a = new Array(len);
382 for(var i = 0; i < len; i++) a[i] = collection[i];
383 return a;
384}
385
386exports.assertD3Data = function(selection, expectedData) {
387 var data = [];

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…