MCPcopy Create free account
hub / github.com/chartjs/Chart.js / input

Function input

test/specs/helpers.options.tests.js:227–229  ·  view source on GitHub ↗
(context)

Source from the content-addressed store, hash-verified

225 });
226 it ('should support scriptable options if context is provided', function() {
227 var input = function(context) {
228 return context.v * 2;
229 };
230 expect(resolve([42], {v: 42})).toBe(42);
231 expect(resolve([input], {v: 42})).toBe(84);
232 });

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected