Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
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
Kirill Smelkov
gitlab-ce
Commits
f7190e42
Commit
f7190e42
authored
Apr 01, 2015
by
Robert Speicher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Typo -- findAndollowLink -> findAndFollowLink
parent
7d57d8b7
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
16 deletions
+16
-16
app/assets/javascripts/shortcuts_dashboard_navigation.js.coffee
...sets/javascripts/shortcuts_dashboard_navigation.js.coffee
+5
-5
app/assets/javascripts/shortcuts_navigation.coffee
app/assets/javascripts/shortcuts_navigation.coffee
+11
-11
No files found.
app/assets/javascripts/shortcuts_dashboard_navigation.js.coffee
View file @
f7190e42
...
...
@@ -3,12 +3,12 @@
class
@
ShortcutsDashboardNavigation
extends
Shortcuts
constructor
:
->
super
()
Mousetrap
.
bind
(
'g a'
,
->
ShortcutsDashboardNavigation
.
findAndollowLink
(
'.shortcuts-activity'
))
Mousetrap
.
bind
(
'g
p'
,
->
ShortcutsDashboardNavigation
.
findAndollowLink
(
'.shortcuts-project
s'
))
Mousetrap
.
bind
(
'g
i'
,
->
ShortcutsDashboardNavigation
.
findAndollowLink
(
'.shortcuts-issue
s'
))
Mousetrap
.
bind
(
'g
m'
,
->
ShortcutsDashboardNavigation
.
findAndollowLink
(
'.shortcuts-merge_reques
ts'
))
Mousetrap
.
bind
(
'g a'
,
->
ShortcutsDashboardNavigation
.
findAnd
F
ollowLink
(
'.shortcuts-activity'
))
Mousetrap
.
bind
(
'g
i'
,
->
ShortcutsDashboardNavigation
.
findAndFollowLink
(
'.shortcuts-issue
s'
))
Mousetrap
.
bind
(
'g
m'
,
->
ShortcutsDashboardNavigation
.
findAndFollowLink
(
'.shortcuts-merge_request
s'
))
Mousetrap
.
bind
(
'g
p'
,
->
ShortcutsDashboardNavigation
.
findAndFollowLink
(
'.shortcuts-projec
ts'
))
@
findAndollowLink
:
(
selector
)
->
@
findAnd
F
ollowLink
:
(
selector
)
->
link
=
$
(
selector
).
attr
(
'href'
)
if
link
window
.
location
=
link
app/assets/javascripts/shortcuts_navigation.coffee
View file @
f7190e42
...
...
@@ -3,18 +3,18 @@
class
@
ShortcutsNavigation
extends
Shortcuts
constructor
:
->
super
()
Mousetrap
.
bind
(
'g p'
,
->
ShortcutsNavigation
.
findAndollowLink
(
'.shortcuts-project'
))
Mousetrap
.
bind
(
'g f'
,
->
ShortcutsNavigation
.
findAndollowLink
(
'.shortcuts-tree'
))
Mousetrap
.
bind
(
'g c'
,
->
ShortcutsNavigation
.
findAndollowLink
(
'.shortcuts-commits'
))
Mousetrap
.
bind
(
'g n'
,
->
ShortcutsNavigation
.
findAndollowLink
(
'.shortcuts-network'
))
Mousetrap
.
bind
(
'g g'
,
->
ShortcutsNavigation
.
findAndollowLink
(
'.shortcuts-graphs'
))
Mousetrap
.
bind
(
'g i'
,
->
ShortcutsNavigation
.
findAndollowLink
(
'.shortcuts-issues'
))
Mousetrap
.
bind
(
'g m'
,
->
ShortcutsNavigation
.
findAndollowLink
(
'.shortcuts-merge_requests'
))
Mousetrap
.
bind
(
'g w'
,
->
ShortcutsNavigation
.
findAndollowLink
(
'.shortcuts-wiki'
))
Mousetrap
.
bind
(
'g s'
,
->
ShortcutsNavigation
.
findAndollowLink
(
'.shortcuts-snippets'
))
Mousetrap
.
bind
(
'g p'
,
->
ShortcutsNavigation
.
findAnd
F
ollowLink
(
'.shortcuts-project'
))
Mousetrap
.
bind
(
'g f'
,
->
ShortcutsNavigation
.
findAnd
F
ollowLink
(
'.shortcuts-tree'
))
Mousetrap
.
bind
(
'g c'
,
->
ShortcutsNavigation
.
findAnd
F
ollowLink
(
'.shortcuts-commits'
))
Mousetrap
.
bind
(
'g n'
,
->
ShortcutsNavigation
.
findAnd
F
ollowLink
(
'.shortcuts-network'
))
Mousetrap
.
bind
(
'g g'
,
->
ShortcutsNavigation
.
findAnd
F
ollowLink
(
'.shortcuts-graphs'
))
Mousetrap
.
bind
(
'g i'
,
->
ShortcutsNavigation
.
findAnd
F
ollowLink
(
'.shortcuts-issues'
))
Mousetrap
.
bind
(
'g m'
,
->
ShortcutsNavigation
.
findAnd
F
ollowLink
(
'.shortcuts-merge_requests'
))
Mousetrap
.
bind
(
'g w'
,
->
ShortcutsNavigation
.
findAnd
F
ollowLink
(
'.shortcuts-wiki'
))
Mousetrap
.
bind
(
'g s'
,
->
ShortcutsNavigation
.
findAnd
F
ollowLink
(
'.shortcuts-snippets'
))
@
enabledHelp
.
push
(
'.hidden-shortcut.project'
)
@
findAndollowLink
:
(
selector
)
->
@
findAnd
F
ollowLink
:
(
selector
)
->
link
=
$
(
selector
).
attr
(
'href'
)
if
link
window
.
location
=
link
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