diff options
| author | Alon Levy <alon@pobox.com> | 2014-11-11 15:57:42 +0200 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2014-11-11 19:48:22 +0200 |
| commit | 06101d59dc1d67f0bb4194425b46f153f8a97c7e (patch) | |
| tree | c374b6f06be0d4d8392630082bda8821916b6007 /scripts/view/internal.js | |
| parent | 73ef7c098053592db020bc3691180c49e5f45cf6 (diff) | |
put .info into a tab
not using jquery tab since I just want an abstraction for 'show just
one' which is simpler, no labels.
Diffstat (limited to 'scripts/view/internal.js')
| -rw-r--r-- | scripts/view/internal.js | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/scripts/view/internal.js b/scripts/view/internal.js new file mode 100644 index 00000000..bc18bd75 --- /dev/null +++ b/scripts/view/internal.js @@ -0,0 +1,14 @@ +define(['view/tab'], +function(tab) { + +var EDGE_INFO_SELECTOR = '.edge_info', + NODE_INFO_SELECTOR = '.info', + edit_tab = new tab.Tab({edge: EDGE_INFO_SELECTOR, node: NODE_INFO_SELECTOR}); + +return { + EDGE_INFO_SELECTOR: EDGE_INFO_SELECTOR, + NODE_INFO_SELECTOR: NODE_INFO_SELECTOR, + edit_tab: edit_tab, +}; + +}); |
