Correct format of directive creation to work in un-minified state
Fixes #4606
This commit is contained in:
@@ -183,7 +183,7 @@ habitrpg
|
||||
"</div>\n");
|
||||
}]);
|
||||
|
||||
habitrpg.directive('focusMe', function($timeout, $parse) {
|
||||
habitrpg.directive('focusMe', ['$timeout', '$parse', function($timeout, $parse) {
|
||||
return {
|
||||
link: function(scope, element, attrs) {
|
||||
var model = $parse(attrs.focusMe);
|
||||
@@ -194,4 +194,4 @@ habitrpg.directive('focusMe', function($timeout, $parse) {
|
||||
});
|
||||
}
|
||||
};
|
||||
});
|
||||
}]);
|
||||
|
||||
Reference in New Issue
Block a user