Skip to content

Commit

Permalink
Merge pull request #7743 from ycombinator/backport/hacks-to-4.x
Browse files Browse the repository at this point in the history
Backport hacks to 4.x
  • Loading branch information
w33ble authored Jul 14, 2016
2 parents 408f684 + de925f2 commit 22ef18a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/UiApp.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class UiApp {
return _.chain([
this.autoloadOverrides || autoload.require,
this.uiExports.find(_.get(this, 'spec.uses', [])),
this.uiExports.find(['chromeNavControls']),
this.uiExports.find(['chromeNavControls', 'hacks']),
])
.flatten()
.uniq()
Expand Down
1 change: 1 addition & 0 deletions src/ui/UiExports.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ class UiExports {
case 'chromeNavControls':
case 'navbarExtensions':
case 'settingsSections':
case 'hacks':
return (plugin, spec) => {
this.aliases[type] = _.union(this.aliases[type] || [], spec);
};
Expand Down

0 comments on commit 22ef18a

Please sign in to comment.