Skip to content

Commit fbc4ad7

Browse files
committed
style(groupBy): minor changes
1 parent 0474f3c commit fbc4ad7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/_filter/collection/group-by.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,9 @@ angular.module('a8m.group-by', [ 'a8m.filter-watcher' ])
1616
return collection;
1717
}
1818

19-
var getterFn = $parse(property);
20-
2119
return filterWatcher.isMemoized('groupBy', arguments) ||
2220
filterWatcher.memoize('groupBy', arguments, this,
23-
_groupBy(collection, getterFn));
21+
_groupBy(collection, $parse(property)));
2422

2523
/**
2624
* groupBy function

0 commit comments

Comments
 (0)