From 0c8626a8b5b1fb58551d81b73f8ea6057ba411af Mon Sep 17 00:00:00 2001 From: spalger Date: Fri, 12 Feb 2016 01:06:36 -0700 Subject: [PATCH] [hacks] goodbye sledgehammers --- src/ui/ui_app.js | 2 +- src/ui/ui_exports.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ui/ui_app.js b/src/ui/ui_app.js index 438908aa26e74..a14d01e5d9846 100644 --- a/src/ui/ui_app.js +++ b/src/ui/ui_app.js @@ -36,7 +36,7 @@ class UiApp { getModules() { return _.chain([ this.uiExports.find(_.get(this, 'spec.uses', [])), - this.uiExports.find(['chromeNavControls', 'sledgehammers']), + this.uiExports.find(['chromeNavControls', 'hacks']), ]) .flatten() .uniq() diff --git a/src/ui/ui_exports.js b/src/ui/ui_exports.js index f7be016258bac..da5edef1a8f03 100644 --- a/src/ui/ui_exports.js +++ b/src/ui/ui_exports.js @@ -64,7 +64,7 @@ class UiExports { case 'navbarExtensions': case 'settingsSections': case 'docViews': - case 'sledgehammers': + case 'hacks': return (plugin, spec) => { this.aliases[type] = _.union(this.aliases[type] || [], spec); };