diff options
| author | anika-ahluwalia <anika.ahluwalia@gmail.com> | 2020-06-05 12:44:30 -0500 |
|---|---|---|
| committer | anika-ahluwalia <anika.ahluwalia@gmail.com> | 2020-06-05 12:44:30 -0500 |
| commit | e93b8b764b5569d8367013f970b483b9ed3035fc (patch) | |
| tree | 6d18ca7bb96e4d84c3cff71e3f446ff6e0b67e66 /src/client/views/collections/CollectionDockingView.tsx | |
| parent | 5b5e50dc739d032bebb7b02b945034d25513a7f0 (diff) | |
added more globals for testing
Diffstat (limited to 'src/client/views/collections/CollectionDockingView.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionDockingView.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionDockingView.tsx b/src/client/views/collections/CollectionDockingView.tsx index 6f5a3dfe4..6e27169e2 100644 --- a/src/client/views/collections/CollectionDockingView.tsx +++ b/src/client/views/collections/CollectionDockingView.tsx @@ -859,5 +859,6 @@ export class DockedFrameRenderer extends React.Component<DockedFrameProps> { </div >); } } -Scripting.addGlobal(function openOnRight(doc: any) { CollectionDockingView.AddRightSplit(doc); }); +Scripting.addGlobal(function openOnRight(doc: any) { CollectionDockingView.AddRightSplit(doc); }, + "opens up the inputted document on the right side of the screen", "{ doc: any }"); Scripting.addGlobal(function useRightSplit(doc: any, shiftKey?: boolean) { CollectionDockingView.UseRightSplit(doc, undefined, shiftKey); }); |
