Typo: Issueable -> Issuable

This commit is contained in:
Robert Speicher 2015-04-18 15:20:15 -04:00
parent 8e6fa2555e
commit 4d1878253e
4 changed files with 7 additions and 7 deletions

View File

@ -38,7 +38,7 @@
#= require shortcuts #= require shortcuts
#= require shortcuts_navigation #= require shortcuts_navigation
#= require shortcuts_dashboard_navigation #= require shortcuts_dashboard_navigation
#= require shortcuts_issueable #= require shortcuts_issuable
#= require shortcuts_network #= require shortcuts_network
#= require cal-heatmap #= require cal-heatmap
#= require_tree . #= require_tree .

View File

@ -22,7 +22,7 @@ class Dispatcher
shortcut_handler = new ShortcutsNavigation() shortcut_handler = new ShortcutsNavigation()
when 'projects:issues:show' when 'projects:issues:show'
new Issue() new Issue()
shortcut_handler = new ShortcutsIssueable() shortcut_handler = new ShortcutsIssuable()
new ZenMode() new ZenMode()
when 'projects:milestones:show' when 'projects:milestones:show'
new Milestone() new Milestone()
@ -47,7 +47,7 @@ class Dispatcher
new IssuableForm($('.merge-request-form')) new IssuableForm($('.merge-request-form'))
when 'projects:merge_requests:show' when 'projects:merge_requests:show'
new Diff() new Diff()
shortcut_handler = new ShortcutsIssueable() shortcut_handler = new ShortcutsIssuable()
new ZenMode() new ZenMode()
when "projects:merge_requests:diffs" when "projects:merge_requests:diffs"
new Diff() new Diff()

View File

@ -3,7 +3,7 @@
#= require shortcuts_navigation #= require shortcuts_navigation
class @ShortcutsIssueable extends ShortcutsNavigation class @ShortcutsIssuable extends ShortcutsNavigation
constructor: (isMergeRequest) -> constructor: (isMergeRequest) ->
super() super()
Mousetrap.bind('a', -> Mousetrap.bind('a', ->

View File

@ -1,11 +1,11 @@
#= require jquery #= require jquery
#= require jasmine-fixture #= require jasmine-fixture
#= require shortcuts_issueable #= require shortcuts_issuable
describe 'ShortcutsIssueable', -> describe 'ShortcutsIssuable', ->
beforeEach -> beforeEach ->
@shortcut = new ShortcutsIssueable() @shortcut = new ShortcutsIssuable()
describe '#replyWithSelectedText', -> describe '#replyWithSelectedText', ->
# Stub window.getSelection to return the provided String. # Stub window.getSelection to return the provided String.