diff --git a/app/assets/javascripts/application.js.coffee b/app/assets/javascripts/application.js.coffee index bd52d3d4d70c07b54916dcb5bcfe1f2544e1bdbd..1a71f853b4d8652e520b66c2e8a4b2a310fe7489 100644 --- a/app/assets/javascripts/application.js.coffee +++ b/app/assets/javascripts/application.js.coffee @@ -38,7 +38,7 @@ #= require shortcuts #= require shortcuts_navigation #= require shortcuts_dashboard_navigation -#= require shortcuts_issueable +#= require shortcuts_issuable #= require shortcuts_network #= require cal-heatmap #= require_tree . diff --git a/app/assets/javascripts/dispatcher.js.coffee b/app/assets/javascripts/dispatcher.js.coffee index 330ebac6f75af495e413d841f4cde66fd0b294ae..9aee3b281f3f78653653d631902c20292607c766 100644 --- a/app/assets/javascripts/dispatcher.js.coffee +++ b/app/assets/javascripts/dispatcher.js.coffee @@ -22,7 +22,7 @@ class Dispatcher shortcut_handler = new ShortcutsNavigation() when 'projects:issues:show' new Issue() - shortcut_handler = new ShortcutsIssueable() + 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 ShortcutsIssueable() + shortcut_handler = new ShortcutsIssuable() new ZenMode() when "projects:merge_requests:diffs" new Diff() diff --git a/app/assets/javascripts/shortcuts_issueable.coffee b/app/assets/javascripts/shortcuts_issuable.coffee similarity index 95% rename from app/assets/javascripts/shortcuts_issueable.coffee rename to app/assets/javascripts/shortcuts_issuable.coffee index 939004cbf76039132983cfd6532bdf515f3aa41b..6b534f29218aba9b98ecc05ee64fd2a1879301af 100644 --- a/app/assets/javascripts/shortcuts_issueable.coffee +++ b/app/assets/javascripts/shortcuts_issuable.coffee @@ -3,7 +3,7 @@ #= require shortcuts_navigation -class @ShortcutsIssueable extends ShortcutsNavigation +class @ShortcutsIssuable extends ShortcutsNavigation constructor: (isMergeRequest) -> super() Mousetrap.bind('a', -> diff --git a/spec/javascripts/shortcuts_issueable_spec.js.coffee b/spec/javascripts/shortcuts_issuable_spec.js.coffee similarity index 95% rename from spec/javascripts/shortcuts_issueable_spec.js.coffee rename to spec/javascripts/shortcuts_issuable_spec.js.coffee index 5f206ddfda671a1cba6eca5afa87f6e015d1e413..57dcc2161d38554b0f51cc553446c7a895e4999b 100644 --- a/spec/javascripts/shortcuts_issueable_spec.js.coffee +++ b/spec/javascripts/shortcuts_issuable_spec.js.coffee @@ -1,11 +1,11 @@ #= require jquery #= require jasmine-fixture -#= require shortcuts_issueable +#= require shortcuts_issuable -describe 'ShortcutsIssueable', -> +describe 'ShortcutsIssuable', -> beforeEach -> - @shortcut = new ShortcutsIssueable() + @shortcut = new ShortcutsIssuable() describe '#replyWithSelectedText', -> # Stub window.getSelection to return the provided String.