Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Commit 1e194b1

Browse files
Eric Jimeneznaomiblack
Eric Jimenez
authored andcommitted
change arrow style function to regular function
1 parent ca0acb6 commit 1e194b1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

public/resources/js/directives/api-list.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,9 @@ angularIO.directive('apiList', function () {
3939
{ cssClass: 'const', title: 'Const', matches: ['var', 'let', 'const'] }
4040
];
4141

42-
if (isForDart) $ctrl.apiTypes = $ctrl.apiTypes.filter((t) =>
43-
!t.cssClass.match(/^(stable|directive|decorator|interface|enum)$/));
42+
if (isForDart) $ctrl.apiTypes = $ctrl.apiTypes.filter(function (t) {
43+
return !t.cssClass.match(/^(stable|directive|decorator|interface|enum)$/);
44+
});
4445

4546
$ctrl.apiFilter = getApiFilterFromLocation();
4647
$ctrl.apiType = getApiTypeFromLocation();

0 commit comments

Comments
 (0)