| author | Chloe Laisne <chloe.laisne@gmail.com> |
| Mon, 04 Jul 2016 17:56:05 +0200 | |
| changeset 221 | 0bee030d7411 |
| parent 214 | 9bff007eb03c |
| permissions | -rw-r--r-- |
|
214
9bff007eb03c
Reflect player-component actions on playlist-component
Chloe Laisne <chloe.laisne@gmail.com>
parents:
diff
changeset
|
1 |
import Ember from 'ember'; |
|
9bff007eb03c
Reflect player-component actions on playlist-component
Chloe Laisne <chloe.laisne@gmail.com>
parents:
diff
changeset
|
2 |
|
|
9bff007eb03c
Reflect player-component actions on playlist-component
Chloe Laisne <chloe.laisne@gmail.com>
parents:
diff
changeset
|
3 |
export function eq(params) { |
|
9bff007eb03c
Reflect player-component actions on playlist-component
Chloe Laisne <chloe.laisne@gmail.com>
parents:
diff
changeset
|
4 |
return params[0] === params[1]; |
|
9bff007eb03c
Reflect player-component actions on playlist-component
Chloe Laisne <chloe.laisne@gmail.com>
parents:
diff
changeset
|
5 |
} |
|
9bff007eb03c
Reflect player-component actions on playlist-component
Chloe Laisne <chloe.laisne@gmail.com>
parents:
diff
changeset
|
6 |
|
|
9bff007eb03c
Reflect player-component actions on playlist-component
Chloe Laisne <chloe.laisne@gmail.com>
parents:
diff
changeset
|
7 |
export default Ember.Helper.helper(eq); |