MCPcopy
hub / github.com/jsfiddle/togetherjs / panelPosition

Function panelPosition

togetherjs/ui.js:51–62  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

49 };
50
51 function panelPosition() {
52 var iface = $("#togetherjs-dock");
53 if (iface.hasClass("togetherjs-dock-right")) {
54 return "right";
55 } else if (iface.hasClass("togetherjs-dock-left")) {
56 return "left";
57 } else if (iface.hasClass("togetherjs-dock-bottom")) {
58 return "bottom";
59 } else {
60 throw new AssertionError("#togetherjs-dock doesn't have positioning class");
61 }
62 }
63
64 ui.container = null;
65

Callers 1

ui.jsFile · 0.85

Calls 1

$Function · 0.50

Tested by

no test coverage detected