Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/plotly/plotly.js
/ has
Function
has
src/components/shapes/draw.js:584–586 ·
view source on GitHub ↗
(str)
Source
from the content-addressed store, hash-verified
582
}
583
}
else
{
584
var
has =
function
(str) {
585
return
dragMode.indexOf(str) !== -1;
586
};
587
var
hasN = has(
'n'
);
588
var
hasS = has(
's'
);
589
var
hasW = has(
'w'
);
Callers
1
resizeShape
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected