From 4d1878253e228db55485dae9e4ad66aebe009040 Mon Sep 17 00:00:00 2001 From: Robert Speicher <rspeicher@gmail.com> Date: Sat, 18 Apr 2015 15:20:15 -0400 Subject: [PATCH] Typo: Issueable -> Issuable --- app/assets/javascripts/application.js.coffee | 2 +- app/assets/javascripts/dispatcher.js.coffee | 4 ++-- ...shortcuts_issueable.coffee => shortcuts_issuable.coffee} | 2 +- ...ble_spec.js.coffee => shortcuts_issuable_spec.js.coffee} | 6 +++--- 4 files changed, 7 insertions(+), 7 deletions(-) rename app/assets/javascripts/{shortcuts_issueable.coffee => shortcuts_issuable.coffee} (95%) rename spec/javascripts/{shortcuts_issueable_spec.js.coffee => shortcuts_issuable_spec.js.coffee} (95%) diff --git a/app/assets/javascripts/application.js.coffee b/app/assets/javascripts/application.js.coffee index bd52d3d4d70..1a71f853b4d 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 330ebac6f75..9aee3b281f3 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 939004cbf76..6b534f29218 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 5f206ddfda6..57dcc2161d3 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. -- 2.30.9