diff options
| author | mo khan <mo@mokhan.ca> | 2013-11-09 09:58:50 -0700 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2013-11-09 09:58:50 -0700 |
| commit | a6e369e3b9de30b9a1efcc858847ad8008d86fbf (patch) | |
| tree | 7586353098201c35306aa8a9b307d78e580a8137 /src/movie_library.coffee | |
| parent | bfcf4b39393fb8762b45657c0c16af0d4bf2d412 (diff) | |
inline a couple more query methods.main
Diffstat (limited to 'src/movie_library.coffee')
| -rw-r--r-- | src/movie_library.coffee | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/movie_library.coffee b/src/movie_library.coffee index 7934d81..8ecb3aa 100644 --- a/src/movie_library.coffee +++ b/src/movie_library.coffee @@ -18,14 +18,6 @@ module.exports = class MovieLibrary extends Module for movie in @movies visitor(movie) - find_movies_released_after_2004: -> - @find_all (movie) => - movie.year_published > 2004 - - find_movies_released_between_1982_and_2003: -> - @find_all (movie) => - movie.year_published > 1982 && movie.year_published < 2003 - sort_by_title_ascending: -> @movies.sort (x, y) -> return 1 if x.title > y.title |
