Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Commit

Permalink
fix(build): closure build needs @ngInject annotation
Browse files Browse the repository at this point in the history
It was labeled as "@ngInjdect" instead of "@ngInject".

Refs #7610. Closes #7613
  • Loading branch information
crisbeto authored and ThomasBurleson committed Mar 19, 2016
1 parent f743a1a commit b72ef7c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
5 changes: 1 addition & 4 deletions src/components/menuBar/js/menuBarDirective.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,7 @@ angular
.module('material.components.menuBar')
.directive('mdMenuBar', MenuBarDirective);

/**
*
* @ngInjdect
*/
/* @ngInject */
function MenuBarDirective($mdUtil, $mdTheming) {
return {
restrict: 'E',
Expand Down
5 changes: 1 addition & 4 deletions src/components/menuBar/js/menuItemDirective.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@ angular
.module('material.components.menuBar')
.directive('mdMenuItem', MenuItemDirective);

/**
*
* @ngInjdect
*/
/* @ngInject */
function MenuItemDirective() {
return {
require: ['mdMenuItem', '?ngModel'],
Expand Down

0 comments on commit b72ef7c

Please sign in to comment.