Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
morpheus.js
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Daria Zenkova
morpheus.js
Commits
c22b7553
Commit
c22b7553
authored
Mar 24, 2016
by
joshua-gould
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
help menu tracking
parent
73b4ab4e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
5 deletions
+21
-5
js/morpheus-latest.min.js
js/morpheus-latest.min.js
+5
-5
src/ui/help_menu.js
src/ui/help_menu.js
+16
-0
No files found.
js/morpheus-latest.min.js
View file @
c22b7553
This source diff could not be displayed because it is too large. You can
view the blob
instead.
src/ui/help_menu.js
View file @
c22b7553
...
...
@@ -23,12 +23,20 @@ morpheus.HelpMenu = function() {
e
.
stopPropagation
();
e
.
stopImmediatePropagation
();
window
.
open
(
'
mailto:morpheus@broadinstitute.org
'
);
morpheus
.
Util
.
trackEvent
({
eventCategory
:
'
ToolBar
'
,
eventAction
:
'
contact
'
});
});
this
.
$el
.
find
(
'
[name=tutorial]
'
).
on
(
'
click
'
,
function
(
e
)
{
e
.
preventDefault
();
e
.
stopPropagation
();
e
.
stopImmediatePropagation
();
window
.
open
(
morpheus
.
Util
.
URL
+
'
tutorial.html
'
);
morpheus
.
Util
.
trackEvent
({
eventCategory
:
'
ToolBar
'
,
eventAction
:
'
tutorial
'
});
});
...
...
@@ -37,11 +45,19 @@ morpheus.HelpMenu = function() {
e
.
stopPropagation
();
e
.
stopImmediatePropagation
();
window
.
open
(
morpheus
.
Util
.
URL
+
'
linking.html
'
);
morpheus
.
Util
.
trackEvent
({
eventCategory
:
'
ToolBar
'
,
eventAction
:
'
linking
'
});
});
this
.
$el
.
find
(
'
[name=source]
'
).
on
(
'
click
'
,
function
(
e
)
{
e
.
preventDefault
();
e
.
stopPropagation
();
e
.
stopImmediatePropagation
();
window
.
open
(
'
https://github.com/joshua-gould/morpheus.js
'
);
morpheus
.
Util
.
trackEvent
({
eventCategory
:
'
ToolBar
'
,
eventAction
:
'
source
'
});
});
};
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment