client: fix incorrect enum values for repeat. closes #189

This commit is contained in:
Andrew Kelley 2014-04-14 18:36:21 -07:00
parent 8c2b78efc8
commit f36efe16c7

View file

@ -10,8 +10,8 @@ module.exports = PlayerClient;
var compareSortKeyAndId = makeCompareProps(['sortKey', 'id']); var compareSortKeyAndId = makeCompareProps(['sortKey', 'id']);
PlayerClient.REPEAT_OFF = 0; PlayerClient.REPEAT_OFF = 0;
PlayerClient.REPEAT_ALL = 1; PlayerClient.REPEAT_ONE = 1;
PlayerClient.REPEAT_ONE = 2; PlayerClient.REPEAT_ALL = 2;
util.inherits(PlayerClient, EventEmitter); util.inherits(PlayerClient, EventEmitter);
function PlayerClient(socket) { function PlayerClient(socket) {