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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Tatuya Kamada
gitlab-ce
Commits
4d187825
Commit
4d187825
authored
Apr 18, 2015
by
Robert Speicher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Typo: Issueable -> Issuable
parent
8e6fa255
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
7 deletions
+7
-7
app/assets/javascripts/application.js.coffee
app/assets/javascripts/application.js.coffee
+1
-1
app/assets/javascripts/dispatcher.js.coffee
app/assets/javascripts/dispatcher.js.coffee
+2
-2
app/assets/javascripts/shortcuts_issuable.coffee
app/assets/javascripts/shortcuts_issuable.coffee
+1
-1
spec/javascripts/shortcuts_issuable_spec.js.coffee
spec/javascripts/shortcuts_issuable_spec.js.coffee
+3
-3
No files found.
app/assets/javascripts/application.js.coffee
View file @
4d187825
...
...
@@ -38,7 +38,7 @@
#= require shortcuts
#= require shortcuts_navigation
#= require shortcuts_dashboard_navigation
#= require shortcuts_issu
e
able
#= require shortcuts_issuable
#= require shortcuts_network
#= require cal-heatmap
#= require_tree .
...
...
app/assets/javascripts/dispatcher.js.coffee
View file @
4d187825
...
...
@@ -22,7 +22,7 @@ class Dispatcher
shortcut_handler
=
new
ShortcutsNavigation
()
when
'projects:issues:show'
new
Issue
()
shortcut_handler
=
new
ShortcutsIssu
e
able
()
shortcut_handler
=
new
ShortcutsIssuable
()
new
ZenMode
()
when
'projects:milestones:show'
new
Milestone
()
...
...
@@ -47,7 +47,7 @@ class Dispatcher
new
IssuableForm
(
$
(
'.merge-request-form'
))
when
'projects:merge_requests:show'
new
Diff
()
shortcut_handler
=
new
ShortcutsIssu
e
able
()
shortcut_handler
=
new
ShortcutsIssuable
()
new
ZenMode
()
when
"projects:merge_requests:diffs"
new
Diff
()
...
...
app/assets/javascripts/shortcuts_issu
e
able.coffee
→
app/assets/javascripts/shortcuts_issuable.coffee
View file @
4d187825
...
...
@@ -3,7 +3,7 @@
#= require shortcuts_navigation
class
@
ShortcutsIssu
e
able
extends
ShortcutsNavigation
class
@
ShortcutsIssuable
extends
ShortcutsNavigation
constructor
:
(
isMergeRequest
)
->
super
()
Mousetrap
.
bind
(
'a'
,
->
...
...
spec/javascripts/shortcuts_issu
e
able_spec.js.coffee
→
spec/javascripts/shortcuts_issuable_spec.js.coffee
View file @
4d187825
#= require jquery
#= require jasmine-fixture
#= require shortcuts_issu
e
able
#= require shortcuts_issuable
describe
'ShortcutsIssu
e
able'
,
->
describe
'ShortcutsIssuable'
,
->
beforeEach
->
@
shortcut
=
new
ShortcutsIssu
e
able
()
@
shortcut
=
new
ShortcutsIssuable
()
describe
'#replyWithSelectedText'
,
->
# Stub window.getSelection to return the provided String.
...
...
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