Skip to content

Commit

Permalink
Merge pull request #6222 from spalger/implement/hacks
Browse files Browse the repository at this point in the history
[hacks] goodbye sledgehammers
  • Loading branch information
Rashid Khan committed Feb 12, 2016
2 parents a192bf7 + 0c8626a commit f46f2b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ui/ui_app.js
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion src/ui/ui_exports.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
};
Expand Down

0 comments on commit f46f2b5

Please sign in to comment.