MCPcopy Create free account
hub / github.com/plotly/plotly.js / badSetter

Function badSetter

test/jasmine/tests/lib_test.js:501–505  ·  view source on GitHub ↗
(i)

Source from the content-addressed store, hash-verified

499 var badProps = [np(5, 'a'), np(undefined, 'a'), np('cats', 'a'), np(true, 'a')];
500
501 function badSetter(i) {
502 return function () {
503 badProps[i].set('cats');
504 };
505 }
506
507 for (var i = 0; i < badProps.length; i++) {
508 expect(badProps[i].get()).toBe(undefined);

Callers 1

lib_test.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…