change arrow style function to regular function

This commit is contained in:
Eric Jimenez 2016-07-27 12:58:29 -04:00 committed by Naomi Black
parent ca0acb6107
commit 1e194b1960
1 changed files with 3 additions and 2 deletions

View File

@ -39,8 +39,9 @@ angularIO.directive('apiList', function () {
{ cssClass: 'const', title: 'Const', matches: ['var', 'let', 'const'] }
];
if (isForDart) $ctrl.apiTypes = $ctrl.apiTypes.filter((t) =>
!t.cssClass.match(/^(stable|directive|decorator|interface|enum)$/));
if (isForDart) $ctrl.apiTypes = $ctrl.apiTypes.filter(function (t) {
return !t.cssClass.match(/^(stable|directive|decorator|interface|enum)$/);
});
$ctrl.apiFilter = getApiFilterFromLocation();
$ctrl.apiType = getApiTypeFromLocation();