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

Function _drag

test/jasmine/tests/draw_newshape_test.js:750–752  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

748 allMocks.forEach(function(mockItem) {
749 ['mouse', 'touch'].forEach(function(device) {
750 var _drag = function(path) {
751 return drag(path, {type: device});
752 };
753
754 it('@flaky draw various shape types over mock ' + mockItem.name + ' using ' + device, function(done) {
755 var fig = Lib.extendDeep({}, mockItem.json);

Callers 1

Calls 1

dragFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…